Rev1232, Db schema reload sidebar button
This commit is contained in:
parent
e481a12647
commit
5f55d8a034
4 changed files with 38 additions and 8 deletions
|
@ -239,6 +239,13 @@ class Sidebar extends Class
|
|||
@updateHtmlTag()
|
||||
return false
|
||||
|
||||
# Database reload
|
||||
@tag.find("#button-dbreload").off("click").on "click", =>
|
||||
wrapper.ws.cmd "dbReload", [], =>
|
||||
wrapper.notifications.add "done-sitelimit", "done", "Database schema reloaded", 5000
|
||||
@updateHtmlTag()
|
||||
return false
|
||||
|
||||
# Update site
|
||||
@tag.find("#button-update").off("click").on "click", =>
|
||||
@tag.find("#button-update").addClass("loading")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue