diff --git a/view/mkdf/stream/json-browser/details.phtml b/view/mkdf/stream/json-browser/details.phtml index f68fb3c..6148061 100644 --- a/view/mkdf/stream/json-browser/details.phtml +++ b/view/mkdf/stream/json-browser/details.phtml @@ -399,8 +399,6 @@ var sort = $("#sort").val(); var fields = enforceIdField($("#fields").val()); - // FIXME - ensure '_id' field is not omitted from fields. If specifically omitted, add it back in, as it's used for edit/dete refs - var data = { 'query': query, 'pagesize': pagesize, @@ -474,8 +472,8 @@ html += '
' + prettyJson + '
'; html += ''; if (keyUsedPermission == 'a') { - html += ' Edit
'; - html += ' Delete'; + html += ' Edit
'; + html += ' Delete'; } else { html += '
';