Index: lams_tool_images/web/includes/javascript/imageGalleryitem.js =================================================================== diff -u -r8a7c47632a6a93892f015f068d12adb376c0ae2d -r616336eff87580ecb6f13770899bc9af7eff4fa8 --- lams_tool_images/web/includes/javascript/imageGalleryitem.js (.../imageGalleryitem.js) (revision 8a7c47632a6a93892f015f068d12adb376c0ae2d) +++ lams_tool_images/web/includes/javascript/imageGalleryitem.js (.../imageGalleryitem.js) (revision 616336eff87580ecb6f13770899bc9af7eff4fa8) @@ -27,3 +27,20 @@ function cancelImageGalleryItem(){ window.top.hideMessage(); } + /** + * Launches the popup window for the instruction files + */ + function showMessage(url) { + var area=window.top.document.getElementById("reourceInputArea"); + if(area != null){ + area.style.width="650px"; + area.style.height="100%"; + area.src=url; + area.style.display="block"; + } + var elem = window.top.document.getElementById("saveCancelButtons"); + if (elem != null) { + elem.style.display="none"; + } + location.hash = "reourceInputArea"; + }