Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate committed Mar 16, 2014
2 parents bdc1f2f + 383ffd5 commit 514424f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ phpMyAdmin - ChangeLog
- bug #4278 reCaptcha re-login requires double effort
- bug #4324 Datepicker not showing up on insert page
- bug #3991 Problem selecting item in select boxes with the ENTER keystroke in some browsers
- bug #4323 QueryWindow ignores CodeMirror

4.1.9.0 (2014-03-06)
- bug #4279 CTRL + up or down moves two fields (part one)
Expand Down
7 changes: 6 additions & 1 deletion js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,12 @@ function confirmQuery(theForm1, sqlQuery1)
*/
function checkSqlQuery(theForm)
{
var sqlQuery = theForm.elements['sql_query'];
// get the textarea element containing the query
if (codemirror_editor) {
var sqlQuery = codemirror_editor.display.input;
} else {
var sqlQuery = theForm.elements['sql_query'];
}
var isEmpty = 1;
var space_re = new RegExp('\\s+');
if (typeof(theForm.elements['sql_file']) != 'undefined' &&
Expand Down

0 comments on commit 514424f

Please sign in to comment.