Update sidebar html on dbReload
This commit is contained in:
parent
9a1e1e56b3
commit
131a51fbdc
1 changed files with 4 additions and 1 deletions
|
@ -248,7 +248,10 @@ class Sidebar extends Class
|
|||
# Database reload
|
||||
@tag.find("#button-dbreload").off("click").on "click", =>
|
||||
wrapper.ws.cmd "dbReload", [], =>
|
||||
wrapper.notifications.add "done-sitelimit", "done", "Database schema reloaded", 5000
|
||||
wrapper.notifications.add "done-dbreload", "done", "Database schema reloaded", 5000
|
||||
@updateHtmlTag()
|
||||
return false
|
||||
|
||||
# Database rebuild
|
||||
@tag.find("#button-dbrebuild").off("click").on "click", =>
|
||||
wrapper.notifications.add "done-dbrebuild", "info", "Database rebuilding...."
|
||||
|
|
Loading…
Reference in a new issue