IDEMPIERE-4060 Implement change scheduler state at scheduler window
This commit is contained in:
parent
e9f48caf03
commit
7c4ccdc739
|
@ -111,7 +111,11 @@ public class SchedulerStateEditor extends WEditor {
|
|||
if (serverMgr != null) {
|
||||
String error = serverMgr.addScheduler(model);
|
||||
if (error == null) {
|
||||
FDialog.info(0, null, "SchedulerAddAndStartSuccess");
|
||||
if (serverMgr.getServerInstance(model.getServerID()) != null) {
|
||||
FDialog.info(0, null, "SchedulerAddAndStartSuccess");
|
||||
} else {
|
||||
FDialog.error(0, "SchedulerAddAndStartFail", "Not accepted by any server node, please check the scheduler's schedule setting");
|
||||
}
|
||||
} else {
|
||||
FDialog.error(0, "SchedulerAddAndStartFail", error);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue