This commit is contained in:
Mr Chen
2018-10-11 19:26:06 +08:00
parent 5646d1404c
commit 94c5161fde
3 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -2119,7 +2119,7 @@ function AddVersion(name, ver, type, obj, title) {
var data = "name=" + name + "&version=" + version + "&type=" + type;
var loadT = layer.msg(lan.soft.add_install, { icon: 16, time: 0, shade: [0.3, '#000'] });
$.post("/plugin?action=install", data, function(rdata) {
$.post("/plugins/install", data, function(rdata) {
layer.closeAll();
layer.msg(rdata.msg, { icon: rdata.status ? 1 : 2 });
GetSList();