diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-05-21 18:45:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-12 00:01:50 +0100 |
commit | 4f459fca798d8338e6a84fdd5ce73a9d395a67e8 (patch) | |
tree | 9cbea30a012d2ae9f7fc8108a4a92b871dfa9985 /bitbake/lib/toaster/toastergui/static/js/table.js | |
parent | 0573e2d31c9c608aa984c8f5378e8f0097f4c774 (diff) | |
download | openembedded-core-contrib-4f459fca798d8338e6a84fdd5ce73a9d395a67e8.tar.gz |
bitbake: toaster: Add global ajaxError handler
If any ajax calls fail and debug is enabled log the error to the console.
(Bitbake rev: 978ab17033ec48ee0a82016b7e4d6a2fe5d21dbb)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/table.js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/table.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/table.js b/bitbake/lib/toaster/toastergui/static/js/table.js index 45c61848da..1072c7588d 100644 --- a/bitbake/lib/toaster/toastergui/static/js/table.js +++ b/bitbake/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); } }); } |