Author: nathangray
New Revision: 56016
URL: http://svn.stylite.de/viewvc/egroupware?rev=56016&view=rev
Log:
Make today button always bring sidebox calendar back to today, regardless of current selected date
Modified:
trunk/calendar/templates/default/sidebox.xet
— trunk/calendar/templates/default/sidebox.xet (original)
+++ trunk/calendar/templates/default/sidebox.xet Wed May 4 19:11:11 2016
@@ -19,7 +19,9 @@
var tempDate = new Date();
var today = new Date(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate(),0,-tempDate.getTimezoneOffset(),0);
var change = {date: today.toJSON()};
-app.calendar.update_state(change);return false;"/>
+app.calendar.update_state(change);
+widget.getRoot().getWidgetById(‘date’).set_value(today);
+return false;"/>
<date id=“date” class=“et2_fullWidth” inline=“true” onchange="var view_change = app.calendar.sidebox_changes_views.indexOf(app.calendar.state.view);
var update = {date:widget.getValue()};
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
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs