diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 150723f8a2..e385227ab1 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -8,7 +8,7 @@ "/css/app.css.map": "/css/app.css.map?id=bdbe05e6ecd70ccfac72", "/css/overrides.css.map": "/css/overrides.css.map?id=898c91d4a425b01b589b", "/css/dist/all.css": "/css/dist/all.css?id=7c3842d2639193ac7e88", - "/js/dist/all.js": "/js/dist/all.js?id=7e993fb3b457ccc72b3f", + "/js/dist/all.js": "/js/dist/all.js?id=7b52ead3a55086ea1f8d", "/css/build/all.css": "/css/build/all.css?id=7c3842d2639193ac7e88", - "/js/build/all.js": "/js/build/all.js?id=7e993fb3b457ccc72b3f" + "/js/build/all.js": "/js/build/all.js?id=7b52ead3a55086ea1f8d" } \ No newline at end of file diff --git a/resources/assets/js/snipeit.js b/resources/assets/js/snipeit.js index ef0e1ba616..d58d7a704e 100755 --- a/resources/assets/js/snipeit.js +++ b/resources/assets/js/snipeit.js @@ -268,7 +268,7 @@ $(document).ready(function () { $('#assigned_user').hide(); $('#assigned_location').hide(); $('.notification-callout').fadeOut(); - + } else if (assignto_type == 'location') { $('#current_assets_box').fadeOut(); $('#assigned_asset').hide(); @@ -276,6 +276,7 @@ $(document).ready(function () { $('#assigned_location').show(); $('.notification-callout').fadeOut(); } else { + $('#assigned_asset').hide(); $('#assigned_user').show(); $('#assigned_location').hide(); @@ -283,7 +284,7 @@ $(document).ready(function () { $('#current_assets_box').fadeIn(); } $('.notification-callout').fadeIn(); - + } }); });