Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
514424f947
@ -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)
|
||||
|
||||
@ -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' &&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user