summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wagner2011-10-31 11:52:55 +0100
committerSebastian Wagner2011-10-31 11:52:55 +0100
commit0848c1d225b4aaef0fadec30056624a59c97ea24 (patch)
treee04149f5545b8ae8f08376e205fc88f2b4c93c07
parenttest (diff)
downloadpoolctrl-0848c1d225b4aaef0fadec30056624a59c97ea24.tar.gz
poolctrl-0848c1d225b4aaef0fadec30056624a59c97ea24.tar.xz
poolctrl-0848c1d225b4aaef0fadec30056624a59c97ea24.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 7991998..143b745 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