изменение умолчаний для контролов таблиц
This commit is contained in:
@@ -21,8 +21,8 @@ public class PublishBugReport extends Pass<BugReport> {
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) {
|
||||
if ( Global.componentsServer.db.bugReports.getUI().CheckCurrent(Log)) {
|
||||
target = Global.componentsServer.db.bugReports.getUI().getCurrent();
|
||||
if (Global.componentsServer.db.bugReports.getUI().CheckCurrent(Log)) {
|
||||
target = Global.componentsServer.db.bugReports.getUI().getCurrent();
|
||||
if (!target.state.equals(BugReportState.draft)) {
|
||||
Log.Writeln_("Отчёт об ошибке " + target.id + " уже опубликован!");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user