Index: lams_tool_images/web/includes/javascript/imageGallerycommon.js =================================================================== diff -u -r148c7644de4f74c8017616384ab7e4a346b9731a -rf4d9fb8cc51c25fecdd0eac1dcf5f5efc916cdf8 --- lams_tool_images/web/includes/javascript/imageGallerycommon.js (.../imageGallerycommon.js) (revision 148c7644de4f74c8017616384ab7e4a346b9731a) +++ lams_tool_images/web/includes/javascript/imageGallerycommon.js (.../imageGallerycommon.js) (revision f4d9fb8cc51c25fecdd0eac1dcf5f5efc916cdf8) @@ -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(); }); }