diff --git a/productMods/templates/freemarker/edit/forms/css/customForm.css b/productMods/templates/freemarker/edit/forms/css/customForm.css index 2fa138ad..013db791 100644 --- a/productMods/templates/freemarker/edit/forms/css/customForm.css +++ b/productMods/templates/freemarker/edit/forms/css/customForm.css @@ -140,10 +140,10 @@ section#pubsContainer li { section#pubsContainer input { margin-right:8px; } - - - - - - +/* ---------------------------------- */ +/* --------- MISCELLANEOUS -------- */ +/* ------------------------------- */ +img#indicator { + padding-left:60px; +} diff --git a/productMods/templates/freemarker/edit/forms/js/manageWebpagesForIndividual.js b/productMods/templates/freemarker/edit/forms/js/manageWebpagesForIndividual.js index 6c9479ab..1eb73ba6 100644 --- a/productMods/templates/freemarker/edit/forms/js/manageWebpagesForIndividual.js +++ b/productMods/templates/freemarker/edit/forms/js/manageWebpagesForIndividual.js @@ -157,6 +157,9 @@ var manageWebpages = { if (!confirm(message)) { return false; } + + $('a#returnToIndividual').hide(); + $('img#indicator').removeClass('hidden'); if ($(link)[0] === $('.remove:last')[0]) { removeLast = true; @@ -182,7 +185,7 @@ var manageWebpages = { // Remove from the DOM $(this).remove(); - + // Actions that depend on the webpage having been removed from the DOM: numWebpages = $('.webpage').length; // retrieve the new length after removing webpage from the DOM @@ -195,6 +198,13 @@ var manageWebpages = { if (numWebpages < 2) { manageWebpages.disableDD(); } + $('img#indicator').fadeOut(100, function() { + $(this).addClass('hidden'); + }) + + $('a#returnToIndividual').fadeIn(100, function() { + $(this).show(); + }); }); } else { diff --git a/productMods/templates/freemarker/edit/forms/manageWebpagesForIndividual.ftl b/productMods/templates/freemarker/edit/forms/manageWebpagesForIndividual.ftl index e1375ae9..0a09ad97 100644 --- a/productMods/templates/freemarker/edit/forms/manageWebpagesForIndividual.ftl +++ b/productMods/templates/freemarker/edit/forms/manageWebpagesForIndividual.ftl @@ -59,6 +59,7 @@ Add New Web Page Return to Individual + @@ -69,7 +70,7 @@ var customFormData = { }; -${stylesheets.add('', +${stylesheets.add('', '', '')}