Permalink
Browse files

Monit, regression in refactor

  • Loading branch information...
AdSchellevis committed Jan 18, 2019
1 parent efbe2d5 commit a2899594a0f2837f248f852c65f2c27bfbae7f32
@@ -165,7 +165,7 @@ public function performValidation($validateFullModel = false)
public function serializeToConfig($validateFullModel = false, $disable_validation = false)
{
@touch("/tmp/monit.dirty");
return parent::performValidation($validateFullModel, $disable_validation);
return parent::serializeToConfig($validateFullModel, $disable_validation);
}
@@ -119,7 +119,7 @@
$('#btnSaveGeneral').unbind('click').click(function(){
$("#btnSaveGeneralProgress").addClass("fa fa-spinner fa-pulse");
var frm_id = 'frm_GeneralSettings';
saveFormToEndpoint("/api/monit/settings/set/general/", frm_id, function(){
saveFormToEndpoint("/api/monit/settings/set/", frm_id, function(){
isSubsystemDirty();
updateServiceControlUI('monit');
});

0 comments on commit a289959

Please sign in to comment.