Commit 204e93a7 authored by Ad Schellevis's avatar Ad Schellevis

(menu/search) send errors to js log

parent 3d7d9078
......@@ -90,6 +90,9 @@
cache: false,
dataType: "json",
data: {},
error : function (jqXHR, textStatus, errorThrown) {
console.log('menu.search : ' +errorThrown);
},
success: function (data) {
var menusearch_items = [];
$.each(data,function(idx, menu_item){
......
......@@ -196,6 +196,9 @@ $pagetitle .= sprintf(' | %s.%s', $config['system']['hostname'], $config['system
cache: false,
dataType: "json",
data: {},
error : function (jqXHR, textStatus, errorThrown) {
console.log('menu.search : ' +errorThrown);
},
success: function (data) {
var menusearch_items = [];
$.each(data,function(idx, menu_item){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment