diff --git a/src/main/webapp/xdat-templates/layouts/Popup.vm b/src/main/webapp/xdat-templates/layouts/Popup.vm index 32e5113b8052eaef21c54e6cc93c26d3455e52d3..c4fc7c2ed3eb984c10f7b409b540bbc64957338e 100644 --- a/src/main/webapp/xdat-templates/layouts/Popup.vm +++ b/src/main/webapp/xdat-templates/layouts/Popup.vm @@ -11,6 +11,7 @@ $navigation.setTemplate("/htmlOpen.vm") </style> ## insert any template-specific <head> code here <script type="text/javascript"> + window.loggedIn = true; // just assume we're logged in - how else would we get here? window.isPopup = true; jq(function(){ jq('body').addClass('popup'); diff --git a/src/main/webapp/xnat-templates/layouts/Popup_empty.vm b/src/main/webapp/xnat-templates/layouts/Popup_empty.vm index 703f6066b4f259be2871de8c7e5e1e14553d7d66..ac6bcf11d207ea171cbb1ee0ab0047aa7d5b36e9 100644 --- a/src/main/webapp/xnat-templates/layouts/Popup_empty.vm +++ b/src/main/webapp/xnat-templates/layouts/Popup_empty.vm @@ -2,6 +2,7 @@ $navigation.setTemplate("/htmlOpen.vm") ## insert any template-specific <head> code here <script type="text/javascript"> + window.loggedIn = true; window.isPopup=true; jq(function(){ jq('body').addClass('popup');