From ffae537400b62d15b68fe14b0cf44dce1d6f9a10 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 8 Nov 2017 17:07:57 -0800 Subject: [PATCH] Check that the models are valid being trying to return a value in the ajax partials --- resources/views/partials/forms/edit/asset-select.blade.php | 2 +- resources/views/partials/forms/edit/category-select.blade.php | 2 +- resources/views/partials/forms/edit/department-select.blade.php | 2 +- .../views/partials/forms/edit/manufacturer-select.blade.php | 2 +- resources/views/partials/forms/edit/model-select.blade.php | 2 +- resources/views/partials/forms/edit/supplier-select.blade.php | 2 +- resources/views/partials/forms/edit/user-select.blade.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/views/partials/forms/edit/asset-select.blade.php b/resources/views/partials/forms/edit/asset-select.blade.php index cf42207ab8..1f0c732a64 100644 --- a/resources/views/partials/forms/edit/asset-select.blade.php +++ b/resources/views/partials/forms/edit/asset-select.blade.php @@ -5,7 +5,7 @@ @if ($category_id = Input::old($fieldname, $item->{$fieldname})) @else diff --git a/resources/views/partials/forms/edit/department-select.blade.php b/resources/views/partials/forms/edit/department-select.blade.php index d68b9d6253..dadc1f9bb8 100644 --- a/resources/views/partials/forms/edit/department-select.blade.php +++ b/resources/views/partials/forms/edit/department-select.blade.php @@ -6,7 +6,7 @@ @if ($manufacturer_id = Input::old($fieldname, $item->{$fieldname})) @else diff --git a/resources/views/partials/forms/edit/model-select.blade.php b/resources/views/partials/forms/edit/model-select.blade.php index dd38f26d50..84e30f4a93 100644 --- a/resources/views/partials/forms/edit/model-select.blade.php +++ b/resources/views/partials/forms/edit/model-select.blade.php @@ -7,7 +7,7 @@ @if ($supplier_id = Input::old($fieldname, (isset($item)) ? $item->{$fieldname} : '')) @else diff --git a/resources/views/partials/forms/edit/user-select.blade.php b/resources/views/partials/forms/edit/user-select.blade.php index 96c4429b57..6af8d07956 100644 --- a/resources/views/partials/forms/edit/user-select.blade.php +++ b/resources/views/partials/forms/edit/user-select.blade.php @@ -6,7 +6,7 @@