fix v++
This commit is contained in:
@@ -24,7 +24,8 @@ public class SynchronizeBugReports extends ComponentsRepositoryPass<Object> {
|
||||
}
|
||||
@Override
|
||||
protected void showPreparation() throws Exception {
|
||||
server.db.bugReports.getUI().SaveLastCurrent();
|
||||
if (server.db.bugReports.getUI()!=null)
|
||||
server.db.bugReports.getUI().SaveLastCurrent();
|
||||
server.db.bugReports.ClearUI();
|
||||
server.db.subscribers.ClearUI();
|
||||
server.db.workspaces.ClearUI();
|
||||
|
||||
@@ -82,7 +82,9 @@ public class ComponentsForm extends DataSetControlForm<Component> {
|
||||
}
|
||||
}
|
||||
);
|
||||
Global.mainModule.getPass(PassCode.PublishComponent).setControlsVisible(Global.mainModule.getAccount().isAdmin());
|
||||
if (Global.mainModule.getAccount()!=null) {
|
||||
Global.mainModule.getPass(PassCode.PublishComponent).setControlsVisible(Global.mainModule.getAccount().isAdmin());
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ public class Visualiser extends Component {
|
||||
//http://www.seostella.com/ru/article/2012/02/05/formatirovanie-daty-v-java.html
|
||||
@Override
|
||||
public void GetVersionInfo() {
|
||||
version = 1116;
|
||||
version = 1117;
|
||||
String pattern = "MMM dd yyyy HH:mm:ss";
|
||||
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
|
||||
date_text = df.format(getClassBuildTime());
|
||||
|
||||
Reference in New Issue
Block a user