Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
2baa0c87
Commit
2baa0c87
authored
Jan 27, 2016
by
Ad Schellevis
Committed by
Franco Fichtner
Feb 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(menu/search) send errors to js log
(cherry picked from commit
204e93a7
)
parent
a2b150c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
default.volt
src/opnsense/mvc/app/views/layouts/default.volt
+3
-0
head.inc
src/www/head.inc
+3
-0
No files found.
src/opnsense/mvc/app/views/layouts/default.volt
View file @
2baa0c87
...
@@ -90,6 +90,9 @@
...
@@ -90,6 +90,9 @@
cache
:
false
,
cache
:
false
,
dataType
:
"
json
"
,
dataType
:
"
json
"
,
data
:
{},
data
:
{},
error
:
function
(
jqXHR
,
textStatus
,
errorThrown
)
{
console
.
log
(
'
menu.search :
'
+
errorThrown
);
},
success
:
function
(
data
)
{
success
:
function
(
data
)
{
var
menusearch_items
=
[];
var
menusearch_items
=
[];
$
.
each
(
data
,
function
(
idx
,
menu_item
){
$
.
each
(
data
,
function
(
idx
,
menu_item
){
...
...
src/www/head.inc
View file @
2baa0c87
...
@@ -195,6 +195,9 @@ $pagetitle .= sprintf(' | %s.%s', $config['system']['hostname'], $config['system
...
@@ -195,6 +195,9 @@ $pagetitle .= sprintf(' | %s.%s', $config['system']['hostname'], $config['system
cache
:
false
,
cache
:
false
,
dataType
:
"
json
"
,
dataType
:
"
json
"
,
data
:
{},
data
:
{},
error
:
function
(
jqXHR
,
textStatus
,
errorThrown
)
{
console
.
log
(
'
menu.search :
'
+
errorThrown
);
},
success
:
function
(
data
)
{
success
:
function
(
data
)
{
var
menusearch_items
=
[];
var
menusearch_items
=
[];
$
.
each
(
data
,
function
(
idx
,
menu_item
){
$
.
each
(
data
,
function
(
idx
,
menu_item
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment