summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wagner2011-10-31 11:55:12 +0100
committerSebastian Wagner2011-10-31 11:55:12 +0100
commit86821d572c9330e97a20c8f1ec0ad5f5e4bfa70b (patch)
tree4f77fb9b1b4dad0dc2054df3487d98c2171aa55f
parenttest (diff)
downloadpoolctrl-86821d572c9330e97a20c8f1ec0ad5f5e4bfa70b.tar.gz
poolctrl-86821d572c9330e97a20c8f1ec0ad5f5e4bfa70b.tar.xz
poolctrl-86821d572c9330e97a20c8f1ec0ad5f5e4bfa70b.zip
test
-rwxr-xr-xapplication/views/scripts/event/index.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index 143b745..7991998 100755
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -295,7 +295,7 @@ function eventSelected(event) {
if($("#poolselectbox option:selected").val() == 'defaultPool' || $("#poolselectbox option:selected").val() == 'noPool') {
$( "#noPoolSelectedDialog" ).dialog('open');
- } else if (!right && evClick == false) {
+ } else if (right && evClick == false) {
$(function() {
$( "#eventAddDialog" ).dialog({
autoOpen: false,
@@ -332,7 +332,7 @@ function eventSelected(event) {
});
});
$( "#eventAddDialog" ).dialog('open');
- } else if (right && evClick == false) {
+ } else if (!right && evClick == false) {
$('#calendar').fullCalendar( 'unselect' );
$( "#errorRightsDialog" ).dialog('open');
} else