Author: xlawrence
Date: Thu Aug 17 11:50:05 2006
New Revision: 14930

URL: https://svndev.jahia.net/websvn/listing.php?sc=1&rev=14930&repname=jahia
Log: (empty)

Modified:
    trunk/core/src/webapp/jsp/jahia/administration/work_in_progress.html

Modified: trunk/core/src/webapp/jsp/jahia/administration/work_in_progress.html
URL: 
https://svndev.jahia.net/websvn/diff.php?path=/trunk/core/src/webapp/jsp/jahia/administration/work_in_progress.html&rev=14930&repname=jahia
==============================================================================
--- trunk/core/src/webapp/jsp/jahia/administration/work_in_progress.html 
(original)
+++ trunk/core/src/webapp/jsp/jahia/administration/work_in_progress.html Thu 
Aug 17 11:50:05 2006
@@ -7,9 +7,6 @@
         window.onerror = function(){
             window.close();
         }
-
-        var currentTime = 0;
-
         function checkWorkInProgress() {
             try {
                 if (! window.opener) window.close();
@@ -23,7 +20,6 @@
         }
 
         function waitForCloseOpener() {
-            if (currentTime >= 15000) window.close();
             try {
                 if (! window.opener) window.close();
                 if (! window.opener.location) window.close();
@@ -34,7 +30,6 @@
                     if (window.opener.document.mainForm.go && 
window.opener.document.mainForm.go.value == "close") {
                         window.close();
                     }
-                    currentTime += 100;
                     setTimeout( "waitForCloseOpener()", 100 );
                 } else {
                     window.close();

Reply via email to