From: Michael M Slusarz Date: Fri, 18 Dec 2009 20:38:26 +0000 (-0700) Subject: Better place to init this variable X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7399b25a4acbd7f2f54ce66127bb007ccf80c6ac;p=horde.git Better place to init this variable --- diff --git a/imp/js/dialog.js b/imp/js/dialog.js index 5b9ebbc50..abe707849 100644 --- a/imp/js/dialog.js +++ b/imp/js/dialog.js @@ -13,8 +13,6 @@ var IMPDialog = { display: function(data) { - this.noreload = false; - if (Object.isString(data)) { data = decodeURIComponent(data).evalJSON(true); } @@ -82,6 +80,7 @@ var IMPDialog = { if (r.response.success) { this._close(); + this.noreload = false; document.fire('IMPDialog:success', this.type); if (!this.noreload) { location.reload();