rfe #1168350 [interface] Add clear button to SQL edit box.

This commit is contained in:
Michal Čihař
2011-03-02 14:30:59 +01:00
parent c052954bec
commit a5e5cc6a7b
3 changed files with 4 additions and 0 deletions

View File

@@ -1052,6 +1052,8 @@ function insertQuery(queryType) {
query = "UPDATE `" + table + "` SET " + editDis + " WHERE 1";
} else if(queryType == "delete") {
query = "DELETE FROM `" + table + "` WHERE 1";
} else if(queryType == "clear") {
query = '';
}
document.sqlform.sql_query.value = query;
sql_box_locked = false;