summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/event/index.phtml
diff options
context:
space:
mode:
authorsebastian wagner2011-09-14 12:23:23 +0200
committersebastian wagner2011-09-14 12:23:23 +0200
commit6e3d71c79cb61b3fe4dae0b645301709bd769ca1 (patch)
tree2e5a989f726da65a821723df3221d52dd14bd79e /application/views/scripts/event/index.phtml
parentMerge branch 'master' of git.openslx.org:lsfks/projekte/poolctrl (diff)
downloadpoolctrl-6e3d71c79cb61b3fe4dae0b645301709bd769ca1.tar.gz
poolctrl-6e3d71c79cb61b3fe4dae0b645301709bd769ca1.tar.xz
poolctrl-6e3d71c79cb61b3fe4dae0b645301709bd769ca1.zip
clean up
Diffstat (limited to 'application/views/scripts/event/index.phtml')
-rwxr-xr-xapplication/views/scripts/event/index.phtml23
1 files changed, 3 insertions, 20 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index c0ac1e3..fa722ea 100755
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -31,6 +31,7 @@ var isDroppable = true;
var overlappStart;
var overlappEnd;
+// poolSelectVal
var poolID;
@@ -57,7 +58,6 @@ var poolID;
} else {
self.location="/event/add/" }
}
- //poolSelectBoxVal/" + $("#poolselectbox option:selected").val();
function showCalendar() {
$("#calendar").show();
@@ -206,14 +206,6 @@ var poolID;
eventMouseout: function( event, jsEvent, view ) {
},
-
- /*
- * no use for this because element.bind('dblclick') in eventRender Function
- *
- eventDblclick: function( event, jsEvent, view ) {
- self.location = "/event/edit/eventID/" + event.id;
-
- },*/
eventClick: function( event, jsEvent, view ) {
@@ -222,6 +214,7 @@ var poolID;
setTimeout(function() {clickTmp = true} , 300);
eventSelected(event);
} else {
+ // this is the dblclick
self.location = "/event/edit/eventID/" + event.id + "/poolID/" + $("#poolselectbox option:selected").val();
}
},
@@ -414,11 +407,7 @@ var poolID;
}
/*
- * no need for this
- *
- element.bind('dblclick', function(){
- self.location = "/event/edit/eventID/" + event.id;
- })
+ * qtip problem
*
element.qtip({
content:
@@ -430,12 +419,6 @@ var poolID;
hide: 'mouseout'
});
*/
-
- /*
- * TO DO: Eventhandler löschen bei eventClick, da sich sonst das qtip bindet
- */
-
- /**/
if (view.name == 'agendaWeek') {