The namespace of the vocabulary as a string
* @see #NS */ public static String getURI() {return NS;} diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/VitroVocabulary.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/VitroVocabulary.java index 4ba887039..58c05673a 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/VitroVocabulary.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/VitroVocabulary.java @@ -103,7 +103,7 @@ public class VitroVocabulary { public static final String SKIP_EDIT_FORM = vitroURI + "skipEditForm"; public static final String PROPERTY_STUBOBJECTPROPERTYANNOT = vitroURI + "stubObjectPropertyAnnot"; public static final String PROPERTY_COLLATEBYSUBCLASSANNOT = vitroURI + "collateBySubclassAnnot"; - + public static final String IS_INTERNAL_CLASSANNOT = vitroURI + "isMenuPageIntersectionClass"; // ================== link related ===================================== public static final String LINK = vitroURI+"Link"; diff --git a/webapp/web/js/menupage/menumanagement_edit.js b/webapp/web/js/menupage/menumanagement_edit.js index 1143470ba..51fcc5cc1 100644 --- a/webapp/web/js/menupage/menumanagement_edit.js +++ b/webapp/web/js/menupage/menumanagement_edit.js @@ -26,22 +26,22 @@ var menuManagementEdit = { }); }, showClassGroups: function() { - if(!this.existingContentType.hasClass("hide")) { - this.existingContentType.addClass("hide"); - this.selectClassesMessage.addClass("hide"); - this.classesForClassGroup.addClass("hide"); + if(!this.existingContentType.hasClass("hidden")) { + this.existingContentType.addClass("hidden"); + this.selectClassesMessage.addClass("hidden"); + this.classesForClassGroup.addClass("hidden"); } - this.selectContentType.removeClass("hide"); + this.selectContentType.removeClass("hidden"); }, hideClassGroups: function() { - if(!this.selectContentType.hasClass("hide")) { + if(!this.selectContentType.hasClass("hidden")) { - this.selectContentType.addClass("hide"); + this.selectContentType.addClass("hidden"); } - this.existingContentType.removeClass("hide"); - this.selectClassesMessage.removeClass("hide"); - this.classesForClassGroup.removeClass("hide"); + this.existingContentType.removeClass("hidden"); + this.selectClassesMessage.removeClass("hidden"); + this.classesForClassGroup.removeClass("hidden"); }, chooseClassGroup: function() { @@ -56,13 +56,13 @@ var menuManagementEdit = { } else { //update existing content type with correct class group name and hide class group select again var _this = menuManagementEdit; - _this.hideClassGroups(); + menuManagementEdit.hideClassGroups(); - _this.selectedGroupForPage.html(results.classGroupName); + menuManagementEdit.selectedGroupForPage.html(results.classGroupName); //retrieve classes for class group and display with all selected - _this.classesForClassGroup.empty(); - _this.classesForClassGroup.append("