Index: lams_tool_images/web/includes/javascript/imageGallerycommon.js =================================================================== RCS file: /usr/local/cvsroot/lams_tool_images/web/includes/javascript/imageGallerycommon.js,v diff -u -r1.1.12.3 -r1.1.12.4 --- lams_tool_images/web/includes/javascript/imageGallerycommon.js 20 Aug 2016 04:56:34 -0000 1.1.12.3 +++ lams_tool_images/web/includes/javascript/imageGallerycommon.js 16 Nov 2016 17:35:32 -0000 1.1.12.4 @@ -2,18 +2,10 @@ * Launches the popup window for the instruction files */ function showMessage(url) { - $.ajaxSetup({ cache: true }); - $("#reourceInputArea").load(url, function() { - var area=document.getElementById("reourceInputArea"); - if (area != null) { - area.style.width="100%"; - area.style.height="100%"; - area.style.display="block"; - } - var elem = document.getElementById("saveCancelButtons"); - if (elem != null) { - elem.style.display="none"; - } + $.ajaxSetup({ cache: false }); + $("#new-image-input-area").load(url, function() { + $(this).show(); + $("#saveCancelButtons").hide(); }); }