Fix redirecting in DIMP
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 27 Jul 2009 23:00:43 +0000 (17:00 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 27 Jul 2009 23:00:57 +0000 (17:00 -0600)
imp/js/src/DimpCore.js

index 6fad707..df6624d 100644 (file)
@@ -277,7 +277,7 @@ var DimpCore = {
         var ptr = parent.frames.horde_main ? parent : window;
         ptr.location = this.addURLParam(url);
         if (force) {
-            setTimeout(ptr.location.reload(), 0.3);
+            setTimeout(function() { ptr.location.reload() }, 0.3);
         }
     },