can't move a show into the past.
This commit is contained in:
parent
c45437633b
commit
bc6dd374f4
3 changed files with 18 additions and 9 deletions
|
@ -139,7 +139,7 @@ function eventDrop(event, dayDelta, minuteDelta, allDay, revertFunc, jsEvent, ui
|
|||
$.post(url,
|
||||
{day: dayDelta, min: minuteDelta, showInstanceId: event.id},
|
||||
function(json){
|
||||
if(json.overlap) {
|
||||
if(json.error) {
|
||||
revertFunc();
|
||||
}
|
||||
});
|
||||
|
@ -153,7 +153,7 @@ function eventResize( event, dayDelta, minuteDelta, revertFunc, jsEvent, ui, vie
|
|||
$.post(url,
|
||||
{day: dayDelta, min: minuteDelta, showInstanceId: event.id},
|
||||
function(json){
|
||||
if(json.overlap) {
|
||||
if(json.error) {
|
||||
revertFunc();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue