diff --git a/chrome/chromeFiles/content/scholar/editDialog.js b/chrome/chromeFiles/content/scholar/editDialog.js new file mode 100644 index 0000000000..dcfbe1a49c --- /dev/null +++ b/chrome/chromeFiles/content/scholar/editDialog.js @@ -0,0 +1,69 @@ +var ScholarLocalizedStrings; +var thisRow; +var dynamicBox; + +function init() +{ + thisRow = window.arguments[0]; + dynamicBox = document.getElementById('dynamic-fields'); + ScholarLocalizedStrings = document.getElementById('scholar-strings'); + + //universal fields + var fieldNames = new Array("title","dateAdded","dateModified","source","rights"); + + //add specific fields for this object type + var fields = Scholar.ObjectFields.getObjectTypeFields(thisRow.getField("objectTypeID")); + for(var i = 0; i + + + + + + + +