From 50314caa53bee1a220f73cd22bebb3a9b3658943 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 21 May 2009 17:56:10 +0200 Subject: [PATCH] Use separate spinners for each view, to allow nicer positioning. --- kronolith/js/src/kronolith.js | 1 + kronolith/templates/index/agenda.inc | 1 + kronolith/templates/index/day.inc | 1 + kronolith/templates/index/month.inc | 2 +- kronolith/templates/index/tasks.inc | 1 + kronolith/templates/index/week.inc | 2 +- kronolith/templates/index/year.inc | 1 + kronolith/themes/screen.css | 22 ++++++++++++++++------ 8 files changed, 23 insertions(+), 8 deletions(-) diff --git a/kronolith/js/src/kronolith.js b/kronolith/js/src/kronolith.js index c14b09154..65fdb239d 100644 --- a/kronolith/js/src/kronolith.js +++ b/kronolith/js/src/kronolith.js @@ -215,6 +215,7 @@ KronolithCore = { this.viewLoading = true; $('kronolithView' + locCap).appear({ 'queue': 'end', 'afterFinish': function() { this.viewLoading = false; }.bind(this) }); } + $('kronolithLoading' + loc).insert($('kronolithLoading').remove()); this.updateMinical(date, loc); this.date = date; diff --git a/kronolith/templates/index/agenda.inc b/kronolith/templates/index/agenda.inc index b94e12bc3..b47778e8d 100644 --- a/kronolith/templates/index/agenda.inc +++ b/kronolith/templates/index/agenda.inc @@ -1,6 +1,7 @@