mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Suppress console warning
This commit is contained in:
parent
7b489ad1ec
commit
e6cbafe5ff
|
@ -169,7 +169,7 @@ $(function() {
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$.get("{{config('app.url') }}/api/users/"+userid+"/assets",{_token: "{{ csrf_token() }}"},function (data) {
|
$.get("{{config('app.url') }}/api/users/"+userid+"/assets",{_token: "{{ csrf_token() }}"},function (data) {
|
||||||
console.warn("Ajax call came back okay for user " + userid + "! " + data.length + " Data is: "+data);
|
// console.warn("Ajax call came back okay for user " + userid + "! " + data.length + " Data is: "+data);
|
||||||
if (data.length > 0) {
|
if (data.length > 0) {
|
||||||
$('#current_assets_box').fadeIn();
|
$('#current_assets_box').fadeIn();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue