Merge pull request #1247 from Tithugues/QA_4_2_fixEmptySQL
Fix error when clicking 'Go' and having an empty textarea in SQL tab. (bug #4470)
This commit is contained in:
commit
2a5430888d
@ -422,9 +422,8 @@ function checkSqlQuery(theForm)
|
||||
isEmpty = 1;
|
||||
|
||||
if (isEmpty) {
|
||||
sqlQuery.select();
|
||||
alert(PMA_messages.strFormEmpty);
|
||||
sqlQuery.focus();
|
||||
codemirror_editor.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user