Merge remote-tracking branch 'origin/QA_4_1' into QA_4_1

This commit is contained in:
Weblate 2014-03-16 15:00:35 +01:00
commit beb62dbd7f
2 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,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)

View File

@ -383,7 +383,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' &&