summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/event/index.phtml
diff options
context:
space:
mode:
authorsebastian wagner2011-09-14 17:48:45 +0200
committersebastian wagner2011-09-14 17:48:45 +0200
commita860e6b1b47706ec58c3c4c55f64c90b6ca54a69 (patch)
tree793e54b21b863c207874005ced61eeb4f1567a56 /application/views/scripts/event/index.phtml
parentMerge branch 'master' of git.openslx.org:lsfks/projekte/poolctrl (diff)
downloadpoolctrl-a860e6b1b47706ec58c3c4c55f64c90b6ca54a69.tar.gz
poolctrl-a860e6b1b47706ec58c3c4c55f64c90b6ca54a69.tar.xz
poolctrl-a860e6b1b47706ec58c3c4c55f64c90b6ca54a69.zip
immediate check
Diffstat (limited to 'application/views/scripts/event/index.phtml')
-rwxr-xr-xapplication/views/scripts/event/index.phtml11
1 files changed, 7 insertions, 4 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index 4f18657..4645109 100755
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -334,12 +334,12 @@ var poolIDtmp;
});
});
$( "#defaultDialog" ).dialog('open');
+ $(this).qtip("destroy");
},
eventDrop: function( event, dayDelta, minuteDelta, allDay, revertFunc ) {
if(event.repeat == 0 && isDroppable) {
-
$(function() {
$( "#defaultDialog" ).dialog({
autoOpen: false,
@@ -392,9 +392,9 @@ var poolIDtmp;
});
$( "#eventMoveWdhDialog" ).dialog('open');
} else revertFunc();
-
+ $(this).qtip("destroy");
},
-
+
eventDragStop: function(event, jsEvent, ui, view) {
/*
if() {
@@ -408,10 +408,13 @@ var poolIDtmp;
// disable resizing if the event is a boot- or shutdown-event
if(event.category == 'Boot' || event.category == 'Shutdown') {
-
element.resizable(false); // calendar resizing
element.resizable("destroy"); // jqeury resizing
element.removeClass('fc-event-vert'); // css class
+ }
+
+ if(event.immediate == 1) {
+ element.draggable = false;
}
/*