From: Charles du Jeu Date: Sat, 23 May 2009 09:45:47 +0000 (+0000) Subject: Delay the interruptClose setting to avoid IE closing the perspective on download. X-Git-Tag: argeo-slc-2.1.7~1887 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=4b6f223f54a50a17084413d39cac265de26718a4;p=gpl%2Fargeo-slc.git Delay the interruptClose setting to avoid IE closing the perspective on download. git-svn-id: https://svn.argeo.org/slc/trunk@2438 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/server/org.argeo.slc.ria/src/argeo-ria-src/class/org/argeo/ria/Application.js b/server/org.argeo.slc.ria/src/argeo-ria-src/class/org/argeo/ria/Application.js index a1e5901f1..5932e7e40 100644 --- a/server/org.argeo.slc.ria/src/argeo-ria-src/class/org/argeo/ria/Application.js +++ b/server/org.argeo.slc.ria/src/argeo-ria-src/class/org/argeo/ria/Application.js @@ -259,7 +259,9 @@ qx.Class.define("org.argeo.ria.Application", javascriptDownloadLocation: function(hrefValue){ this.interruptClose = true; document.location.href = hrefValue; - this.interruptClose = false; + qx.event.Timer.once(function(){ + this.interruptClose = false; + }, this, 2000); }, /**