No need to pass event param as the first argument to edit_series function, if there's no event, since the function controls the arguments by itself

This commit is contained in:
Hadi Nategh 2014-01-27 16:36:49 +00:00
parent 56ea1da5aa
commit 888611f531

View File

@ -268,7 +268,7 @@ app.classes.calendar = AppJS.extend(
} }
else else
{ {
that.edit_series(event,eventId,startDate); that.edit_series(eventId,startDate);
} }
}, },
mouseover: function(){ mouseover: function(){
@ -318,7 +318,7 @@ app.classes.calendar = AppJS.extend(
} }
else else
{ {
that.edit_series(event,eventId,startDate); that.edit_series(eventId,startDate);
} }
}, },
mouseover: function(){ mouseover: function(){