Changeset 5662


Ignore:
Timestamp:
24/08/09 13:12:13 (10 years ago)
Author:
domlowe
Message:

making urls relative to server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/trunk/cowsclient/public/js/layerControl.js

    r5659 r5662  
    173173 
    174174            if (!IsPopupBlocker()){     
    175                    window.showModalDialog('http://ndg3beta.badc.rl.ac.uk/NEWcowsclient/securityredirect', 'please log in', 'dialogHeight=350px', 'dialogWidth=500px'); 
     175                   window.showModalDialog('./securityredirect', 'please log in', 'dialogHeight=350px', 'dialogWidth=500px'); 
    176176                 
    177177                   //when logged in and new window closed, try again: 
     
    487487 
    488488function IsPopupBlocker() { 
    489 var oWin = window.open("http://ndg3beta.badc.rl.ac.uk/cowsclient","testpopupblocker"); 
     489var oWin = window.open("./","testpopupblocker"); 
    490490 
    491491if (oWin==null || typeof(oWin)=="undefined") { 
Note: See TracChangeset for help on using the changeset viewer.