diff --git a/webapp/web/js/individual/menuManagement.js b/webapp/web/js/individual/menuManagement.js
index ba513a301..5572ef7ce 100644
--- a/webapp/web/js/individual/menuManagement.js
+++ b/webapp/web/js/individual/menuManagement.js
@@ -32,8 +32,18 @@ var menuManagement = {
menuItems.attr('title', 'Drag and drop to reorder menu items');
+
+
+ /*$("#loading").ajaxStart(function(){
+ $(this).show();
+ });
+ $("#loading").ajaxStop(function(){
+ $(this).hide();
+ });*/
+
+
this.menuItemsList.sortable({
- cursor: 'move',
+ cursor: 'move',
update: function(event, ui) {
menuManagement.reorderMenuItems(event, ui);
}
@@ -45,6 +55,9 @@ var menuManagement = {
var menuItems = $('li.menuItem').map(function(index, el) {
return $(this).data('menuItemUri');
}).get();
+
+
+
$.ajax({
url: menuManagement.reorderUrl,
@@ -61,7 +74,8 @@ var menuManagement = {
pos = index + 1;
// Set the new position for this element. The only function of this value
// is so we can reset an element to its original position in case reordering fails.
- menuManagement.setPosition(this, pos);
+ menuManagement.setPosition(this, pos);
+
});
},
error: function(request, status, error) {
diff --git a/webapp/web/templates/freemarker/body/individual/individual-vitro.ftl b/webapp/web/templates/freemarker/body/individual/individual-vitro.ftl
index 9196684fd..fa2ae5655 100644
--- a/webapp/web/templates/freemarker/body/individual/individual-vitro.ftl
+++ b/webapp/web/templates/freemarker/body/individual/individual-vitro.ftl
@@ -32,21 +32,10 @@
<@p.label individual editable />
<#-- Most-specific types -->
- <@p.mostSpecificTypes individual />
+ <@p.mostSpecificTypes individual />
#if>
-
-
<#if individualProductExtension??>
${individualProductExtension}
@@ -63,6 +52,14 @@
<#-- Ontology properties -->
<#include "individual-properties.ftl">
+<#assign rdfUrl = individual.rdfUrl>
+
+<#if rdfUrl??>
+
+#if>
+
${stylesheets.add('')}
${headScripts.add('',