Update all.js

This commit is contained in:
Ivanq 2017-12-30 21:46:53 +03:00
parent d8ff0e1745
commit 905095317c

View file

@ -699,12 +699,13 @@ window.initScrollable = function () {
var inner_path; var inner_path;
inner_path = _this.tag.find("#input-contents").val(); inner_path = _this.tag.find("#input-contents").val();
_this.tag.find("#button-publish").addClass("loading"); _this.tag.find("#button-publish").addClass("loading");
return wrapper.ws.cmd("sitePublish", { wrapper.ws.cmd("sitePublish", {
"inner_path": inner_path, "inner_path": inner_path,
"sign": false "sign": false
}, function() { }, function() {
return _this.tag.find("#button-publish").removeClass("loading"); return _this.tag.find("#button-publish").removeClass("loading");
}); });
return false;
}; };
})(this)); })(this));
this.tag.find(".close").off("click touchend").on("click touchend", (function(_this) { this.tag.find(".close").off("click touchend").on("click touchend", (function(_this) {