no message

This commit is contained in:
2025-03-13 00:32:20 +03:00
parent 91e40c4393
commit 1d97048de1
204 changed files with 984 additions and 889 deletions

View File

@@ -20,7 +20,7 @@ public class UpdateBugReportField extends ComponentsServerPass<BugReport> {
String old_comment = "";
BugReport actual;
protected boolean canUpdate() {
return target.canModify(Global.mainModule.getAccount(),Log);
return target.canModify(Global.mainModule.getAccount(), Log);
}
@Override
protected boolean canStart(Object... args) throws Exception {
@@ -54,7 +54,7 @@ public class UpdateBugReportField extends ComponentsServerPass<BugReport> {
getServer().db.bugReports.getUI().RedrawControl();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
} else {
if (canUpdate()&& SendRequest(ServerCode.GetObjectCopyByPK, "", new Pair<>(BugReport.class, target.id))){
if (canUpdate() && SendRequest(ServerCode.GetObjectCopyByPK, "", new Pair<>(BugReport.class, target.id))) {
actual = (BugReport) request.target;
target.SynchronizeFields(actual);
for (int i = 0; i < fieldNames.size(); ++i) {