сохранение адресатов и исполнителя.восстановление
This commit is contained in:
@@ -11,12 +11,9 @@ public class SaveBugReportExecutor extends UpdateBugReportField {
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
return false;
|
||||
/*
|
||||
return Global.componentsServer.db.subscribers.getUI().CheckCurrent(Log) &&
|
||||
super.canStart("executor", Global.componentsServer.db.subscribers.getUI().getCurrent().name,
|
||||
"executor_address", Global.componentsServer.db.subscribers.getUI().getCurrent().address
|
||||
return Global.componentsServer.db.recipients.getUI().CheckCurrent(Log) &&
|
||||
super.canStart("executor", Global.componentsServer.db.recipients.getUI().getCurrent().name,
|
||||
"executor_address", Global.componentsServer.db.recipients.getUI().getCurrent().email
|
||||
);
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,8 @@ public class SaveBugReportRecipients extends UpdateBugReportField {
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
//return super.canStart("packedRecipientsJson", Utils_.gson.toJson(new RecipientsJson(Global.componentsServer.db.subscribers.getUI().getSelectedItems())));
|
||||
return false;
|
||||
return super.canStart("packedRecipientsJson",
|
||||
Utils_.gson.toJson(new RecipientsJson(Global.componentsServer.db.recipients.getUI().getSelectedItems())));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user