Merge branch 'develop'

This commit is contained in:
snipe 2017-10-16 09:09:53 -07:00
commit 10a4d7e849
2 changed files with 3 additions and 4 deletions

View file

@ -54,9 +54,9 @@ class AssetsTransformer
'id' => (int) $asset->company->id, 'id' => (int) $asset->company->id,
'name'=> e($asset->company->name) 'name'=> e($asset->company->name)
] : null, ] : null,
'location' => ($asset->assetLoc) ? [ 'location' => ($asset->assetloc) ? [
'id' => (int) $asset->assetLoc->id, 'id' => (int) $asset->assetloc->id,
'name'=> e($asset->assetLoc->name) 'name'=> e($asset->assetloc->name)
] : null, ] : null,
'rtd_location' => ($asset->defaultLoc) ? [ 'rtd_location' => ($asset->defaultLoc) ? [
'id' => (int) $asset->defaultLoc->id, 'id' => (int) $asset->defaultLoc->id,

View file

@ -488,7 +488,6 @@
var error_text; var error_text;
$("#ldaptestloginicon").html(''); $("#ldaptestloginicon").html('');
$("#ldaptestloginrow").addClass('danger');
$("#ldaptestloginstatus").addClass('text-danger'); $("#ldaptestloginstatus").addClass('text-danger');
$("#ldaptestloginicon").html('<i class="fa fa-exclamation-triangle text-danger"></i>'); $("#ldaptestloginicon").html('<i class="fa fa-exclamation-triangle text-danger"></i>');