Add 'Open site directory' button
This commit is contained in:
parent
4c7013644f
commit
a88f56bec3
3 changed files with 13 additions and 0 deletions
|
@ -685,6 +685,11 @@ window.initScrollable = function () {
|
|||
return false;
|
||||
};
|
||||
})(this));
|
||||
this.tag.find("#button-directory").off("click touchend").on("click touchend", (function(_this) {
|
||||
return function() {
|
||||
return _this.wrapper.ws.cmd("serverShowdirectory", ["site", _this.wrapper.site_info.address]);
|
||||
};
|
||||
})(this));
|
||||
$(document).on("click touchend", (function(_this) {
|
||||
return function() {
|
||||
_this.tag.find("#button-sign-publish-menu").removeClass("visible");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue