summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wagner2011-10-31 11:51:31 +0100
committerSebastian Wagner2011-10-31 11:51:31 +0100
commitfd71ddf6f7dca6c6bf0105bf3859c357f408ea9b (patch)
tree4f77fb9b1b4dad0dc2054df3487d98c2171aa55f
parenttest (diff)
downloadpoolctrl-fd71ddf6f7dca6c6bf0105bf3859c357f408ea9b.tar.gz
poolctrl-fd71ddf6f7dca6c6bf0105bf3859c357f408ea9b.tar.xz
poolctrl-fd71ddf6f7dca6c6bf0105bf3859c357f408ea9b.zip
test
-rwxr-xr-xapplication/views/scripts/event/index.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index 9605b53..7991998 100755
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -291,11 +291,11 @@ function eventSelected(event) {
var cell = document.getElementById("conflicts");
// get conflicts
var returndata = jQuery.parseJSON(data);
-
+
+
if($("#poolselectbox option:selected").val() == 'defaultPool' || $("#poolselectbox option:selected").val() == 'noPool') {
$( "#noPoolSelectedDialog" ).dialog('open');
} else if (right && evClick == false) {
- alert('fischeeee');
$(function() {
$( "#eventAddDialog" ).dialog({
autoOpen: false,
@@ -332,7 +332,7 @@ function eventSelected(event) {
});
});
$( "#eventAddDialog" ).dialog('open');
- } else if (!$.get("/event/checkright/rightShortcut/ec") && evClick == false) {
+ } else if (!right && evClick == false) {
$('#calendar').fullCalendar( 'unselect' );
$( "#errorRightsDialog" ).dialog('open');
} else