Delay the interruptClose setting to avoid IE closing the perspective on download.
authorCharles du Jeu <charles.dujeu@gmail.com>
Sat, 23 May 2009 09:45:47 +0000 (09:45 +0000)
committerCharles du Jeu <charles.dujeu@gmail.com>
Sat, 23 May 2009 09:45:47 +0000 (09:45 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2438 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

server/org.argeo.slc.ria/src/argeo-ria-src/class/org/argeo/ria/Application.js

index a1e5901f18802149bf3ac692af8ec7ea8e71c8ab..5932e7e40fa46d6f0b37369c618c51139ff4e4b4 100644 (file)
@@ -259,7 +259,9 @@ qx.Class.define("org.argeo.ria.Application",
     javascriptDownloadLocation: function(hrefValue){\r
        this.interruptClose = true;\r
        document.location.href = hrefValue;\r
-       this.interruptClose = false;\r
+       qx.event.Timer.once(function(){\r
+               this.interruptClose = false;\r
+       }, this, 2000);\r
     },\r
     \r
     /**\r