Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
f1e9e744
Commit
f1e9e744
authored
Jun 08, 2016
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_browser: make the codemirror resizable
parent
63031499
Changes
1
Hide 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 @
f1e9e744
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
<script
type=
"text/javascript"
src=
"jquery/core/jquery-1.9.min.js"
></script>
<script
type=
"text/javascript"
src=
"jquery/core/jquery-1.9.min.js"
></script>
<script
type=
"text/javascript"
src=
"jquery/ui/js/jquery-ui.min.js"
></script>
<script
type=
"text/javascript"
src=
"jquery/ui/js/jquery-ui.min.js"
></script>
<link
rel=
"stylesheet"
media=
"screen"
href=
"jquery/ui/css/erp5-theme/jquery-ui.min.css"
>
<!-- "local" handsontable TODO make a bt ? -->
<!-- "local" handsontable TODO make a bt ? -->
<script
src=
"sql_browser/handsontable.full.js"
></script>
<script
src=
"sql_browser/handsontable.full.js"
></script>
...
@@ -116,6 +117,8 @@
...
@@ -116,6 +117,8 @@
extraKeys
:
{
"
Ctrl-Space
"
:
"
autocomplete
"
,
"
Ctrl-Enter
"
:
redraw
,
"
Alt-Space
"
:
redraw
},
extraKeys
:
{
"
Ctrl-Space
"
:
"
autocomplete
"
,
"
Ctrl-Enter
"
:
redraw
,
"
Alt-Space
"
:
redraw
},
mode
:
"
text/x-mariadb
"
mode
:
"
text/x-mariadb
"
});
});
$
(
editor
.
getWrapperElement
()).
resizable
();
$
.
getJSON
(
"
ZMySQLDAConnection_getSchemaAsJSON
"
).
then
(
$
.
getJSON
(
"
ZMySQLDAConnection_getSchemaAsJSON
"
).
then
(
function
(
schema
)
{
function
(
schema
)
{
CodeMirror
.
commands
.
autocomplete
=
function
(
cm
)
{
CodeMirror
.
commands
.
autocomplete
=
function
(
cm
)
{
...
...
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