* Fix #19080 - Show correct query in confirmation prompt after inline edit --------- Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
This commit is contained in:
parent
b7d8389bd3
commit
50fe99d376
@ -762,7 +762,10 @@ Functions.confirmQuery = function (theForm1, sqlQuery1) {
|
||||
Functions.checkSqlQuery = function (theForm) {
|
||||
// get the textarea element containing the query
|
||||
var sqlQuery;
|
||||
if (codeMirrorEditor) {
|
||||
if (codeMirrorInlineEditor) {
|
||||
codeMirrorInlineEditor.save();
|
||||
sqlQuery = codeMirrorInlineEditor.getValue();
|
||||
} else if (codeMirrorEditor) {
|
||||
codeMirrorEditor.save();
|
||||
sqlQuery = codeMirrorEditor.getValue();
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user