mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
(cron) when editing from another service, reconfigure cron on save
This commit is contained in:
parent
2c01bf0587
commit
1e2cc4e4d7
@ -56,10 +56,11 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
$("#btn_"+editDlg+"_save").unbind('click').click(function(){
|
||||
saveFormToEndpoint(url=setUrl+uuid,
|
||||
formid='frm_' + editDlg, callback_ok=function(){
|
||||
$("#"+editDlg).modal('hide');
|
||||
$("#grid-jobs").bootgrid("reload");
|
||||
// do reconfigure of cron after save (because we're leaving back to the sender)
|
||||
ajaxCall(url="/api/cron/service/reconfigure", sendData={}, callback=function(data,status) {
|
||||
$("#"+editDlg).modal('hide');
|
||||
});
|
||||
}, true);
|
||||
// go back to where we came from.
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user