Re: Undefined JS variables when loading dialogs

  •  03-24-2011, 5:50 PM

    Re: Undefined JS variables when loading dialogs

    The simple test works. I did figure out part of the cause. I can't get it to work inside a popup.
     
    Linking to the editor like this works:
    <a href='/CuteEditor/test.php'>Edit</a>
     
    But this breaks it:
    <a href='BLOCKED SCRIPTwindow.open("CuteEditor/test.php", "", "screenX=45,screenY=20,left=45,top=20,width=800,height=600,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=o,scrollbars=yes");'>Edit</a>

    Any ideas on that? Is it reproducible for you that way? Maybe I'm mis-using window.open somehow?
     
    Thanks for the help.
View Complete Thread