summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/event
diff options
context:
space:
mode:
authorsebastian wagner2011-10-23 20:39:18 +0200
committersebastian wagner2011-10-23 20:39:18 +0200
commite7e7129c5ecf8a91a4bf5c24fcb456c8365b0167 (patch)
tree1b3598ab4740bd1b425cf4d1aa118ee54c48efe8 /application/views/scripts/event
parentrepeat == 0 query implemented (diff)
downloadpoolctrl-e7e7129c5ecf8a91a4bf5c24fcb456c8365b0167.tar.gz
poolctrl-e7e7129c5ecf8a91a4bf5c24fcb456c8365b0167.tar.xz
poolctrl-e7e7129c5ecf8a91a4bf5c24fcb456c8365b0167.zip
disable editing of immediate-events
Diffstat (limited to 'application/views/scripts/event')
-rwxr-xr-xapplication/views/scripts/event/index.phtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index c5c7c38..8908de7 100755
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -671,16 +671,16 @@ var dayClick = false;
event.editable = false;
}
- // disable resizing if the event is a boot- or shutdown-event
+ // 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
}
-
+
+ // disable editing of immediate events
if(event.immediate == 1) {
- element.draggable( "destroy" );
- element.removeClass('fc-event-draggable');
+ element.ediable = false;
}
element.qtip({