This commit is contained in:
midoks
2018-12-08 14:43:17 +08:00
parent 288f0a4d89
commit 0bb8764e0a
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -1627,7 +1627,11 @@ function pluginConfigSave(fileName) {
function pluginInitD(_name){
$.post('/plugins/run', {name:_name, func:'initd_status'}, function(data) {
if(!data.status || (data.data!='ok' && data.data!='fail') ){
if( !data.status ){
layer.msg(data.msg,{icon:0,time:3000,shade: [0.3, '#000']});
return;
}
if( data.data!='ok' && data.data!='fail' ){
layer.msg(data.data,{icon:0,time:3000,shade: [0.3, '#000']});
return;
}
+1 -1
View File
@@ -391,6 +391,6 @@ function indexSoft() {
$(function() {
if (window.document.location.pathname == '/soft/') {
setInterval(function() { getSList(); }, 30000);
setInterval(function() { getSList(); }, 10000);
}
});