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 @@