mirror of
https://github.com/opnsense/plugins.git
synced 2026-04-24 07:39:16 -04:00
sysutils/monit: does not need the timeout
This commit is contained in:
parent
a4c2dab9e6
commit
77cf809242
1 changed files with 3 additions and 6 deletions
|
|
@ -113,12 +113,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
draggable: true
|
||||
});
|
||||
} else {
|
||||
// request service status after successful save and update status box (wait a few seconds before update)
|
||||
setTimeout(function(){
|
||||
ajaxCall(url="/api/monit/service/status", sendData={}, callback=function(data,status) {
|
||||
updateServiceStatusUI(data['status']);
|
||||
});
|
||||
},3000);
|
||||
ajaxCall(url="/api/monit/service/status", sendData={}, callback=function(data,status) {
|
||||
updateServiceStatusUI(data['status']);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue