From b41cd677073dac28d4d99a23f9bfb31ea4bdd725 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Mon, 14 Nov 2011 16:23:42 +0100 Subject: minor --- application/views/scripts/event/index.phtml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml index e1f4368..f79dd6c 100755 --- a/application/views/scripts/event/index.phtml +++ b/application/views/scripts/event/index.phtml @@ -777,25 +777,6 @@ function eventSelected(event) { $("#eventReportButton").click(function(){ if(selectedEvent != null) { self.location="/event/showreports/eventID/" + selectedEvent.id; - } else { - $(function() { - $( "#eventReportButtonDialog" ).dialog({ - autoOpen: false, - width: 600, - modal: true, - title: "ERROR", - buttons: { - "OK": function() { - $(this).dialog("close"); - } - }, - open: function () { - $(".ui-dialog-titlebar-close").hide(); - $(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error"); - } - }); - }); - $( "#eventReportButtonDialog" ).dialog('open'); } }); @@ -930,11 +911,6 @@ selected one?

Are you sure to add this Event?

- - -