Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
604091f8
Commit
604091f8
authored
Jun 17, 2016
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_browser: enable matchbrackets code mirror addon
parent
7241e3be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
bt5/erp5_sql_browser/SkinTemplateItem/portal_skins/erp5_sql_browser/ZMySQLDAConnection_viewQueryBrowser.html
...erp5_sql_browser/ZMySQLDAConnection_viewQueryBrowser.html
+3
-0
No files found.
bt5/erp5_sql_browser/SkinTemplateItem/portal_skins/erp5_sql_browser/ZMySQLDAConnection_viewQueryBrowser.html
View file @
604091f8
...
...
@@ -35,6 +35,8 @@
<script
type=
"text/javascript"
src=
"codemirror/addon/dialog/dialog.js"
></script>
<script
type=
"text/javascript"
src=
"codemirror/addon/search/searchcursor.js"
></script>
<script
type=
"text/javascript"
src=
"codemirror/addon/search/search.js"
></script>
<script
type=
"text/javascript"
src=
"codemirror/addon/cm_edit/matchbrackets.js"
></script>
<link
rel=
"stylesheet"
href=
"codemirror/addon/hint/show-hint.css"
>
<script
src=
"codemirror/addon/hint/show-hint.js"
></script>
<script
src=
"codemirror/addon/hint/anyword-hint.js"
></script>
...
...
@@ -113,6 +115,7 @@
$
(
function
()
{
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
query
"
),
{
lineNumbers
:
true
,
matchBrackets
:
true
,
viewportMargin
:
Infinity
,
extraKeys
:
{
"
Ctrl-Space
"
:
"
autocomplete
"
,
"
Ctrl-Enter
"
:
redraw
,
"
Alt-Space
"
:
redraw
},
mode
:
"
text/x-mariadb
"
...
...
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