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:
Hugues Peccatte 2014-06-22 16:50:31 +02:00
commit 2a5430888d

View File

@ -422,9 +422,8 @@ function checkSqlQuery(theForm)
isEmpty = 1;
if (isEmpty) {
sqlQuery.select();
alert(PMA_messages.strFormEmpty);
sqlQuery.focus();
codemirror_editor.focus();
return false;
}