Remove table rows when switching to custom query view

This commit is contained in:
Dan Sosedoff 2017-02-25 14:24:57 -06:00
parent 1f45a95710
commit 701e536a90
2 changed files with 8 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -489,6 +489,10 @@ function showTableStructure() {
} }
function showQueryPanel() { function showQueryPanel() {
if (!$("#table_query").hasClass("selected")) {
resetTable();
}
setCurrentTab("table_query"); setCurrentTab("table_query");
editor.focus(); editor.focus();