Only reset this.view if we are really closing the view.
authorJan Schneider <jan@horde.org>
Fri, 13 Nov 2009 11:16:38 +0000 (12:16 +0100)
committerJan Schneider <jan@horde.org>
Mon, 16 Nov 2009 12:24:45 +0000 (13:24 +0100)
kronolith/js/kronolith.js

index 5dd8de5..c71f9d6 100644 (file)
@@ -458,8 +458,8 @@ KronolithCore = {
         });
         if (this.view && this.view != loc) {
             $('kronolithView' + this.view.capitalize()).fade({ 'queue': 'end' });
+            this.view = null;
         }
-        this.view = null;
     },
 
     /**