no message
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user