summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorSebastian Wagner2011-09-28 10:41:56 +0200
committerSebastian Wagner2011-09-28 10:41:56 +0200
commit9619784335de3b14ce5c98b0a1e20f3352c15e76 (patch)
tree727f78ef7979ac8bd9cfd5978b2c9921278f59b3 /application
parentdayClick to add events (diff)
downloadpoolctrl-9619784335de3b14ce5c98b0a1e20f3352c15e76.tar.gz
poolctrl-9619784335de3b14ce5c98b0a1e20f3352c15e76.tar.xz
poolctrl-9619784335de3b14ce5c98b0a1e20f3352c15e76.zip
bugfix
Diffstat (limited to 'application')
-rwxr-xr-xapplication/views/scripts/event/index.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index 6db6a49..ac65244 100755
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -262,7 +262,7 @@ var dayClick = false;
$(this).qtip("destroy");
if(event.immediate == 0 && $.get("/event/checkright/rightShortcut/er")) {
self.location = "/event/edit/eventID/" + event.id + "/poolID/" + $("#poolselectbox option:selected").val();
- } else {
+ } else if (event.immediate == 0) {
$( "#errorRightsDialog" ).dialog('open');
}
}