mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 18:14:42 +00:00
(menu/search) send errors to js log
This commit is contained in:
parent
3d7d907889
commit
204e93a791
@ -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){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user