From a374ae9abd8d150624af3de2513a1299d2240f05 Mon Sep 17 00:00:00 2001 From: ulrik nielsen Date: Wed, 7 Oct 2015 21:48:23 +0200 Subject: [PATCH] removed the incident array --- resources/assets/js/app.js | 2 +- .../views/dashboard/incidents/edit.blade.php | 22 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index 9250f57c..1f58ec67 100755 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -115,7 +115,7 @@ $(function() { $(this).parents('div.alert').addClass('hide'); }); - $('form[name=IncidentForm] select[name=incident\\[component_id\\]]').on('change', function() { + $('form[name=IncidentForm] select[name=component_id]').on('change', function() { var $option = $(this).find('option:selected'); var $componentStatus = $('#component-status'); diff --git a/resources/views/dashboard/incidents/edit.blade.php b/resources/views/dashboard/incidents/edit.blade.php index 868e1599..ae458f46 100644 --- a/resources/views/dashboard/incidents/edit.blade.php +++ b/resources/views/dashboard/incidents/edit.blade.php @@ -19,34 +19,34 @@
- +

- @@ -60,7 +60,7 @@ @foreach(trans('cachet.components.status') as $statusID => $status)
@@ -72,18 +72,18 @@ @endif
-
- +
+
- + {{ trans('forms.optional') }}
- id}}> + id}}>