Files
EdgeAdmin/web/views/@default/settings/server/index.js

19 lines
419 B
JavaScript

Tea.context(function () {
this.updateHTTP = function () {
teaweb.popup("/settings/server/updateHTTPPopup", {
callback: function () {
teaweb.success("保存成功", teaweb.reload)
}
})
}
this.updateHTTPS = function () {
teaweb.popup("/settings/server/updateHTTPSPopup", {
height: "26em",
width:"50em",
callback: function () {
teaweb.success("保存成功", teaweb.reload)
}
})
}
})