Update notebook.controller.js

save note before cron scheduler setting
This commit is contained in:
LeiWang 2017-03-28 14:47:57 +08:00 committed by GitHub
parent 99082273ff
commit 2ab58c3aa9

View file

@ -398,6 +398,7 @@ function NotebookCtrl($scope, $route, $routeParams, $location, $rootScope,
} else {
$scope.note.config.cronExecutingUser = '';
}
$scope.saveNote();
$scope.note.config.cron = cronExpr;
$scope.setConfig();
};