返回提交历史
Modified
static/webui/script.js
+3
-0
XFEstudio/XFESpaceNinjaServer
fix(webui): refresh inventory after changing server cheats (#1331)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1331
0fc13262
代码差异
1 个文件
+3
-0
@@ -967,6 +967,9 @@ function doChangeSettings() {
967
967
url: "/custom/config?" + window.authz,
968
968
contentType: "text/plain",
969
969
data: JSON.stringify(json, null, 2)
970
}).then(() => {
971
// A few cheats affect the inventory response which in turn may change what values we need to show
972
updateInventory();
970
973
});
971
974
});
972
975
}