Ticket #3791: 3791-2.patch

File 3791-2.patch, 789 bytes (added by WebSpellChecker.net, 15 years ago)
  • _source/plugins/wsc/dialogs/tmpFrameset.html

     
    2222        return true ;
    2323}
    2424
     25
     26var opener;
    2527function tryLoad()
    2628{
    27         opener = window.parent;
    28 
    2929        // get access to global parameters
    30         var oParams = window.opener.oldFramesetPageParams;
     30    var oParams = window.parent.oldFramesetPageParams ;
    3131
    3232        // make frameset rows string prepare
    3333        var sFramesetRows = ( parseInt( oParams.firstframeh, 10 ) || '30') + ",*," + ( parseInt( oParams.thirdframeh, 10 ) || '150' ) + ',0' ;
     
    3737        // from config sproxy_js_frameset url
    3838        var addScriptUrl = oParams.sproxy_js_frameset ;
    3939        doLoadScript( addScriptUrl ) ;
     40        opener = window.parent;
    4041}
    4142
    4243        </script>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy