Author: nathangray
New Revision: 55517
URL: http://svn.stylite.de/viewvc/egroupware?rev=55517&view=rev
Log:
Some fine adjustments for display of events right at the edge of the work day
Modified:
trunk/calendar/js/et2_widget_daycol.js
trunk/calendar/js/et2_widget_timegrid.js
— trunk/calendar/js/et2_widget_daycol.js (original)
+++ trunk/calendar/js/et2_widget_daycol.js Thu Mar 24 18:28:51 2016
@@ -530,11 +530,13 @@
// elem is jquery div of event
function isHidden(elem) {
-
// Add an extra 5px top and bottom to include events just on the
-
// edge of visibility
-
var docViewTop = timegrid.scrolling.scrollTop() + 5,
docViewBottom = docViewTop + (
this.display_settings.granularity === 0 ?
this.event_wrapper.height() :
— trunk/calendar/js/et2_widget_timegrid.js (original)
+++ trunk/calendar/js/et2_widget_timegrid.js Thu Mar 24 18:28:51 2016
@@ -797,7 +797,9 @@
// Scroll to start of day
this._top_time = (wd_start * this.rowHeight) / this.options.granularity;
-
// For some reason on Chrome & FF this doesn't quite get the day start
-
// to the top, so add 2px;
-
this.scrolling.scrollTop(this._top_time+2);
if(this.rowHeight != old_height)
{
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs