Fix for Issue 1179: Call to eventElement.draggable() in draggableDayEvent() throws exception
This commit is contained in:
parent
41dbc6d238
commit
d234db1972
2 changed files with 5 additions and 0 deletions
|
@ -357,6 +357,8 @@ function AgendaEventRenderer() {
|
||||||
// when event starts out FULL-DAY
|
// when event starts out FULL-DAY
|
||||||
|
|
||||||
function draggableDayEvent(event, eventElement, isStart) {
|
function draggableDayEvent(event, eventElement, isStart) {
|
||||||
|
if (!eventElement.draggable)
|
||||||
|
return;
|
||||||
var origWidth;
|
var origWidth;
|
||||||
var revert;
|
var revert;
|
||||||
var allDay=true;
|
var allDay=true;
|
||||||
|
|
|
@ -96,6 +96,9 @@ function BasicEventRenderer() {
|
||||||
|
|
||||||
|
|
||||||
function draggableDayEvent(event, eventElement) {
|
function draggableDayEvent(event, eventElement) {
|
||||||
|
if (!eventElement.draggable)
|
||||||
|
return;
|
||||||
|
|
||||||
var hoverListener = getHoverListener();
|
var hoverListener = getHoverListener();
|
||||||
var dayDelta;
|
var dayDelta;
|
||||||
eventElement.draggable({
|
eventElement.draggable({
|
||||||
|
|
Loading…
Add table
Reference in a new issue