cmailleux    2005/10/12 10:09:23 CEST

  Modified files:
    core/src/webapp/jsp/jahia/javascript jahia.js 
  Log:
  apllyJahiaWindow is working on IE and Firefox
  
  Revision  Changes    Path
  1.6       +0 -19     jahia/core/src/webapp/jsp/jahia/javascript/jahia.js
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/jsp/jahia/javascript/jahia.js.diff?r1=1.5&r2=1.6&f=h
  
  
  
  Index: jahia.js
  ===================================================================
  RCS file: 
/home/cvs/repository/jahia/core/src/webapp/jsp/jahia/javascript/jahia.js,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- jahia.js  11 Oct 2005 15:21:16 -0000      1.5
  +++ jahia.js  12 Oct 2005 08:09:23 -0000      1.6
  @@ -196,26 +196,7 @@
       // applyJahiaWindow
       function applyJahiaWindow(url)
       {
  -        if(window.opener) {
  -        var oldEngine = window.opener.myEngineWin;
  -        window.opener.myEngineWin = null;
  -            }
           window.location.href = url;
  -        if(window.opener) {
  -        // Skip temporary while netscape does no work.
  -        var browser = navigator.appName;
  -        if (browser.indexOf("Netscape") != -1) {
  -            return;
  -        } else {
  -            // FIXME : The following lines work with IE but not with 
netscape !!!
  -            window.opener.document.title = "fake";
  -            while (window.opener.document != null &&
  -                   window.opener.document.title == "fake") {
  -                setTimeout("", 1000);
  -            }
  -        }
  -        window.opener.myEngineWin = oldEngine;
  -            }
       }
   
   
  

Reply via email to