disable editing the internal metadata
@@ -14,6 +14,7 @@ function EditMetadataDialog(metaData, targetRowElem) {
var td2 = tr.insertCell(2);
+ if (key !== "modified" && key !== "rowNumber" && key !== "importOptionMetaData" && key !== "id") {
$('<button class="button">').text($.i18n._('core-index')["edit"]).appendTo(td2).click(function() {
var newValue = window.prompt($.i18n._('core-index')["change-metadata-value"]+" " + key, value);
if (newValue !== null) {
@@ -37,6 +38,7 @@ function EditMetadataDialog(metaData, targetRowElem) {
Refine.OpenProjectUI.refreshProject(targetRowElem, metaData);
});
+ }
};
this._createDialog();
