I have a strange situation whereby I have written my own code to open a modal popup window as shown below:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ></script>
<script type="text/javascript" language="javascript">
function showInPopup(popupURL)
{
var options = SP.UI.$create_DialogOptions();
options.url = popupURL;
options.width = 700;
options.height = 540;
SP.UI.ModalDialog.showModalDialog(options);
}
</script>
For some reason this only works when I have the page (which includes this JS) checked out or me via the SP UI. When i do this the popup works for me and everyone else on the site. Once i check it in it no longer works...anyone ever seen this?
Regards,
S