summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/static/js/table.js
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-05-21 18:45:44 +0100
committerAlexandru DAMIAN <alexandru.damian@intel.com>2015-06-10 15:31:13 +0100
commit978ab17033ec48ee0a82016b7e4d6a2fe5d21dbb (patch)
tree5e72bcc91f1ea3a8616412ecc5e2903bce411d8a /lib/toaster/toastergui/static/js/table.js
parentecb70b0bc996529f1a6e58e5716b31e273395c98 (diff)
downloadbitbake-978ab17033ec48ee0a82016b7e4d6a2fe5d21dbb.tar.gz
toaster: Add global ajaxError handler
If any ajax calls fail and debug is enabled log the error to the console. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/static/js/table.js')
-rw-r--r--lib/toaster/toastergui/static/js/table.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/toaster/toastergui/static/js/table.js b/lib/toaster/toastergui/static/js/table.js
index 45c61848d..1072c7588 100644
--- a/lib/toaster/toastergui/static/js/table.js
+++ b/lib/toaster/toastergui/static/js/table.js
@@ -53,11 +53,6 @@ function tableInit(ctx){
tableData: tableData,
tableParams: tableParams
}, null, libtoaster.dumpsUrlParams(tableParams));
- },
-
- error: function (_data) {
- console.warn("Call failed");
- console.warn(_data);
}
});
}