Something is going wrong with the history when loading apps, but this at least
authorJan Schneider <jan@horde.org>
Mon, 15 Mar 2010 22:39:03 +0000 (23:39 +0100)
committerJan Schneider <jan@horde.org>
Mon, 15 Mar 2010 22:40:15 +0000 (23:40 +0100)
improves it a bit.

kronolith/js/kronolith.js

index 737ca23..c5c5fa0 100644 (file)
@@ -458,6 +458,7 @@ KronolithCore = {
             break;
 
         case 'app':
+            this.addHistory(fullloc);
             this.closeView('iframe');
             var app = locParts.shift();
             if (data) {
@@ -466,7 +467,6 @@ KronolithCore = {
                 this.iframeContent(Kronolith.conf.app_urls[app]);
             }
             this.updateMinical(this.date);
-            this.addHistory(fullloc);
             this.view = 'iframe';
             break;
         }