diff --git a/src/opnsense/mvc/app/views/layouts/default.volt b/src/opnsense/mvc/app/views/layouts/default.volt index 9e6597207..022532811 100644 --- a/src/opnsense/mvc/app/views/layouts/default.volt +++ b/src/opnsense/mvc/app/views/layouts/default.volt @@ -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){ diff --git a/src/www/head.inc b/src/www/head.inc index 87ec4701e..b4a139754 100644 --- a/src/www/head.inc +++ b/src/www/head.inc @@ -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){