From 6f64be58fb917d03a46bcf8bfbe5ad4cc72218f0 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 17 Feb 2010 23:13:01 +0100 Subject: [PATCH] Tweak loading and changing views of minical. --- kronolith/js/kronolith.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 4111b6362..1d5fda7db 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -314,7 +314,7 @@ KronolithCore = { $('kronolithView' + locCap).appear({ queue: 'end', afterFinish: function() { this.viewLoading = false; }.bind(this) }); } $('kronolithLoading' + loc).insert($('kronolithLoading').remove()); - this.updateMinical(this.date, loc); + this.updateMinical(this.date); break; @@ -372,7 +372,7 @@ KronolithCore = { this.viewLoading = true; $('kronolithViewAgenda').appear({ queue: 'end', afterFinish: function() { this.viewLoading = false; }.bind(this) }); $('kronolithLoadingagenda').insert($('kronolithLoading').remove()); - this.updateMinical(this.date, 'search'); + this.updateMinical(this.date); this._addHistory(fullloc); this.view = 'agenda'; break; @@ -401,7 +401,6 @@ KronolithCore = { default: return; } - this.updateMinical(this.date, this.view); this._addHistory(fullloc); break; @@ -431,6 +430,7 @@ KronolithCore = { this.closeView('iframe'); this.iframeContent(loc, Kronolith.conf.prefs_url); this.setTitle(Kronolith.text.prefs); + this.updateMinical(this.date); this._addHistory(loc); this.view = 'iframe'; break; @@ -3907,6 +3907,7 @@ KronolithCore = { } this.updateCalendarList(); + this.updateMinical(this.date); /* Initialize the starting page if necessary. addListener() will have * already fired if there is a current location so only do a go() -- 2.11.0