summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/event/index.phtml
diff options
context:
space:
mode:
authorSebastian Wagner2011-09-10 16:17:48 +0200
committerSebastian Wagner2011-09-10 16:17:48 +0200
commit5f119f19dbbfaf64a9e1d6658575b13f12893288 (patch)
tree61a8cf54464c0bed09eb96698a1b6f677acb9d21 /application/views/scripts/event/index.phtml
parentdialog-titlebar-close = hide (diff)
downloadpoolctrl-5f119f19dbbfaf64a9e1d6658575b13f12893288.tar.gz
poolctrl-5f119f19dbbfaf64a9e1d6658575b13f12893288.tar.xz
poolctrl-5f119f19dbbfaf64a9e1d6658575b13f12893288.zip
minor
Diffstat (limited to 'application/views/scripts/event/index.phtml')
-rw-r--r--application/views/scripts/event/index.phtml5
1 files changed, 2 insertions, 3 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index d61fde2..35bc5b0 100644
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -11,7 +11,6 @@
$(document).ready(function() {iniCalendar();});
-var opacityValue = .5;
var eventColor = {ev:null, color:null};
var selectedEvent = null; // keydown variable
@@ -68,8 +67,8 @@ var selectedEvent = null; // keydown variable
// delete selected event by key del(8) or entf(46)
$(document).keydown(function (e) {
if (e.keyCode == 8 || e.keyCode == 46 && selectedEvent.selected == true) {
+ // check if the event is an wdhEvent
if(selectedEvent.repeat == 0) {
-
// dialog for deleting selected event
$(function() {
$( "#eventDeleteDialog" ).dialog({
@@ -96,7 +95,7 @@ var selectedEvent = null; // keydown variable
});
$( "#eventDeleteDialog" ).dialog('open');
- // dialog for deleting delected wdhEvent
+ // dialog for deleting selected wdhEvent
}else {
$(function() {
$( "#eventDeleteWdhDialog" ).dialog({