summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wagner2011-11-14 16:23:42 +0100
committerSebastian Wagner2011-11-14 16:23:42 +0100
commitb41cd677073dac28d4d99a23f9bfb31ea4bdd725 (patch)
tree403c9a4dfdbff43a512fcb0bce18d4332bd5ad73
parentminor (diff)
downloadpoolctrl-b41cd677073dac28d4d99a23f9bfb31ea4bdd725.tar.gz
poolctrl-b41cd677073dac28d4d99a23f9bfb31ea4bdd725.tar.xz
poolctrl-b41cd677073dac28d4d99a23f9bfb31ea4bdd725.zip
minor
-rwxr-xr-xapplication/views/scripts/event/index.phtml24
1 files changed, 0 insertions, 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?</p>
<p>Are you sure to add this Event?</p>
</div>
-<!-- eventReportButton -->
-<div id="eventReportButtonDialog" style="display: none">
-<p>Please choose an Event first!</p>
-</div>
-
<!-- eventNotDroppableDialog -->
<div id="eventNotDroppableDialog" style="display: none">
<p>You canĀ“t drop this Event here! There exists at least one collision