From 6212159c89402e562e5a66bf01cc05bc3b8f7b69 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 25 Oct 2011 17:43:19 +0200 Subject: was weiß ich --- application/views/scripts/event/index.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/views/scripts') diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml index c3603ed..489c6e4 100755 --- a/application/views/scripts/event/index.phtml +++ b/application/views/scripts/event/index.phtml @@ -355,7 +355,7 @@ var dayClick = false; }, "OK": function() { if(returndata == -1) { - if(startDate < currentDate) { + if(startDate > currentDate) { $(this).dialog("close"); self.location="/event/add/evstart/" + startDate + "/evend/" + endDate + "/poolID/" + $("#poolselectbox option:selected").val(); } else { -- cgit v1.2.3-55-g7522