pull/109/head
midoks 7 years ago
parent 288f0a4d89
commit 0bb8764e0a
  1. 6
      static/app/public.js
  2. 2
      static/app/soft.js

@ -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;
}

@ -391,6 +391,6 @@ function indexSoft() {
$(function() {
if (window.document.location.pathname == '/soft/') {
setInterval(function() { getSList(); }, 30000);
setInterval(function() { getSList(); }, 10000);
}
});
Loading…
Cancel
Save