Merge pull request #225 from sosedoff/reset-query-rows

Remove table rows when switching to custom query view
This commit is contained in:
Dan Sosedoff 2017-02-25 14:43:07 -06:00 committed by GitHub
commit 92729f26df
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() {
if (!$("#table_query").hasClass("selected")) {
resetTable();
}
setCurrentTab("table_query");
editor.focus();