Kod
eventDrop: function(event,x,x,x,revertFunc) {
$.post('data.php', {danepost: 'cośtam'} , function(data) {
if(data!='1'){revertFunc();$(event).find('div.fc-event-inner').effect("highlight", {color: "black"}, 1500);}
});
},
$.post('data.php', {danepost: 'cośtam'} , function(data) {
if(data!='1'){revertFunc();$(event).find('div.fc-event-inner').effect("highlight", {color: "black"}, 1500);}
});
},
Potrzebuje w evencie złapać tak uchwyt, aby móc wywołać efekt 'highlight'. W 'eventRender' jest opcja 'element', zaś w eventDrop, eventResize nie ma. Jak to ugrysć?