From: Jan Schneider Date: Mon, 5 Jul 2010 12:29:54 +0000 (+0200) Subject: Scroll to start of day in day and week views. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f2b25aee065dabcfbcbd2c794133852665c47af2;p=horde.git Scroll to start of day in day and week views. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 0aa786123..de648c61c 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -343,6 +343,8 @@ KronolithCore = { if ($('kronolithTimeMarker')) { $('kronolithTimeMarker').show(); } + // Scroll to the work day start time. + $('kronolithView' + locCap).down('.kronolithViewBody').scrollTop = 9 * this[loc + 'Sizes'].height; } this.loadNextView(); }.bind(this)