Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
dd9fae61
Commit
dd9fae61
authored
Mar 24, 2017
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_browser: use POST request to send query
parent
a447541d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
bt5/erp5_sql_browser/SkinTemplateItem/portal_skins/erp5_sql_browser/ZMySQLDAConnection_viewQueryBrowser.html
...erp5_sql_browser/ZMySQLDAConnection_viewQueryBrowser.html
+2
-3
No files found.
bt5/erp5_sql_browser/SkinTemplateItem/portal_skins/erp5_sql_browser/ZMySQLDAConnection_viewQueryBrowser.html
View file @
dd9fae61
...
...
@@ -71,8 +71,7 @@
var
intFormat
=
numberFormat
({
digitsAfterDecimal
:
0
});
var
notification
=
noty
({
type
:
"
info
"
,
text
:
"
Refreshing data
"
,
layout
:
"
bottom
"
});
$
.
getJSON
(
"
ZMySQLDAConnection_getQueryResultAsJSON
"
,
{
query
:
editor
.
getValue
()},
function
(
mps
)
{
$
.
post
(
"
ZMySQLDAConnection_getQueryResultAsJSON
"
,
{
query
:
editor
.
getValue
()},
function
(
mps
)
{
ht
.
clear
();
if
(
mps
.
length
>
1
)
{
ht
.
updateSettings
({
...
...
@@ -104,7 +103,7 @@
});
notification
.
close
();
}
).
fail
(
function
(
jqXHR
,
textStatus
,
errorThrown
)
{
,
'
json
'
).
fail
(
function
(
jqXHR
,
textStatus
,
errorThrown
)
{
notification
.
close
();
noty
({
type
:
"
error
"
,
text
:
jqXHR
.
responseText
,
timeout
:
5000
,
layout
:
"
bottom
"
});
});
...
...
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