Author: nathangray
New Revision: 55649
URL: http://svn.stylite.de/viewvc/egroupware?rev=55649&view=rev
Log:
Fix timegrid column header clicks did not add a new full-day event
Modified:
trunk/calendar/js/et2_widget_daycol.js
— trunk/calendar/js/et2_widget_daycol.js (original)
+++ trunk/calendar/js/et2_widget_daycol.js Wed Apr 6 16:56:03 2016
@@ -998,12 +998,7 @@
click: function(_ev)
{
// Click on the title
-
if(this.title.is(_ev.target) || this.title.has(_ev.target))
-
{
-
app.calendar.update_state({view: 'day',date: this.date.toJSON()});
-
return false;
-
}
-
else if ($j(_ev.target).hasClass('calendar_calAddEvent') && !_ev.target.dataset.whole_day)
@@ -1016,6 +1011,12 @@
options.owner = this.options.owner;
}
this.egw().open(null, ‘calendar’, ‘add’, options, ‘_blank’);
-
return false;
-
}
-
// Day label
-
else if(this.title.is(_ev.target) || this.title.has(_ev.target))
-
{
-
app.calendar.update_state({view: 'day',date: this.date.toJSON()});
return false;
}
// Header, but not the hidden event indicators that are in there
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs