Author: nathangray
New Revision: 55125
URL: http://svn.stylite.de/viewvc/egroupware?rev=55125&view=rev
Log:
Avoid positioning or sizing events when their parent is hidden to speed things up a little.
Modified:
trunk/calendar/js/et2_widget_daycol.js
trunk/calendar/js/et2_widget_event.js
— trunk/calendar/js/et2_widget_daycol.js (original)
+++ trunk/calendar/js/et2_widget_daycol.js Tue Feb 23 22:32:43 2016
@@ -852,6 +852,10 @@
*/
position_event: function(event)
{
-
// Not visible? Skip it for speed.
-
// Should be called again as part of resize when shown.
-
if(!this.div.is(':visible')) return;
-
// Sort events into minimally-overlapping columns
var columns = this._spread_events();
— trunk/calendar/js/et2_widget_event.js (original)
+++ trunk/calendar/js/et2_widget_event.js Tue Feb 23 22:32:43 2016
@@ -364,7 +364,11 @@
this.set_statustext(’’);
// Height specific section
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs