no message
This commit is contained in:
@@ -404,33 +404,6 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
}
|
||||
@Override
|
||||
public void ShowAccount() {
|
||||
/*
|
||||
lAccountName.setText(Utils_.Brackets(Global.mainModule.getAccount().name));
|
||||
lAccountMail.setText(Utils_.Brackets(Global.mainModule.getAccount().email));
|
||||
lAccountRole.setText(Utils_.Brackets(Global.mainModule.getAccount().role.getDescription()));
|
||||
System.out.println("ROLE IS "+Global.mainModule.getAccount().role);
|
||||
switch (Global.mainModule.getAccount().role) {
|
||||
case Undefined:
|
||||
setUdefinedRights();
|
||||
break;
|
||||
case User:
|
||||
//видит только свои баги.
|
||||
EnableBugreports();
|
||||
setUserRights();
|
||||
break;
|
||||
case Developer:
|
||||
EnableBugreports();
|
||||
setDeveloperRights();
|
||||
break;
|
||||
case Admin:
|
||||
EnableBugreports();
|
||||
setAdminRights();
|
||||
break;
|
||||
default:
|
||||
EnableBugreports();
|
||||
break;
|
||||
}
|
||||
*/
|
||||
lAccountName.setText(Utils_.Brackets(Global.mainModule.getAccount().name));
|
||||
lAccountMail.setText(Utils_.Brackets(Global.mainModule.getAccount().email));
|
||||
lAccountRole.setText(Utils_.Brackets(Global.mainModule.getAccount().role.getDescription()));
|
||||
@@ -537,8 +510,8 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
SwitchListeners(false);
|
||||
// currentBugReportTabs.setSelectedIndex(0);
|
||||
BugReport target = Global.componentsServer.db.bugReports.getUI().getCurrent();
|
||||
// target.CheckSubscribers();
|
||||
// Global.componentsServer.db.subscribers.ShowUI();
|
||||
target.CheckRecipients();
|
||||
Global.componentsServer.db.recipients.ShowUI();
|
||||
//-
|
||||
BugReportDescription.setText(target.description);
|
||||
BugReportDescription.ShowBegin();
|
||||
@@ -574,7 +547,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
@Override
|
||||
public void ShowNoCurrentBugReport() {
|
||||
SwitchListeners(false);
|
||||
// Global.componentsServer.db.subscribers.ShowUI();
|
||||
Global.componentsServer.db.recipients.ShowUI();
|
||||
//-
|
||||
BugReportDescription.setText("");
|
||||
BugReportComment.setText("");
|
||||
|
||||
Reference in New Issue
Block a user