[eGroupWare-svn] r55774 - /trunk/calendar/js/et2_widget_event.js

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Tue Apr 19 19:39:57 2016
New Revision: 55774

URL: http://svn.stylite.de/viewvc/egroupware?rev=55774&view=rev
Log:
Calendar planner view shows event title instead of timespan for events > 8 hours
Now fixed for events spanning multiple days

Modified:
    trunk/calendar/js/et2_widget_event.js

Modified: trunk/calendar/js/et2_widget_event.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/js/et2_widget_event.js?rev=55774&r1=55773&r2=55774&view=diff
==============================================================================
--- trunk/calendar/js/et2_widget_event.js (original)
+++ trunk/calendar/js/et2_widget_event.js Tue Apr 19 19:39:57 2016
@@ -411,7 +411,7 @@
 		else if (this.getParent() && this.getParent().instanceOf(et2_calendar_planner_row))
 		{
 			// Less than 8 hours is small
-			this.div.toggleClass('calendar_calEventSmall',this.options.value.end_m - this.options.value.start_m < 480);
+			this.div.toggleClass('calendar_calEventSmall',this.options.value.end.valueOf() - this.options.value.start.valueOf() < 28800000);
 		}
 
 


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.