aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-12-29 14:14:08 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-12-29 14:14:08 +1300
commit65913d45863159b9652865bc4f23eb62120d9b62 (patch)
treece9f48f3ee8716ee93ad359f3acc4c71be0741fd /src/main/java/org/traccar
parent9c2ed26b25a0454c2e90943386050d6c05e7ae5d (diff)
downloadetbsa-traccar-web-65913d45863159b9652865bc4f23eb62120d9b62.tar.gz
etbsa-traccar-web-65913d45863159b9652865bc4f23eb62120d9b62.tar.bz2
etbsa-traccar-web-65913d45863159b9652865bc4f23eb62120d9b62.zip
Add debug and release database config
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/web/client/Traccar.java6
-rw-r--r--src/main/java/org/traccar/web/client/view/ArchivePanel.java8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/org/traccar/web/client/Traccar.java b/src/main/java/org/traccar/web/client/Traccar.java
index 68f633c..2bb84f4 100644
--- a/src/main/java/org/traccar/web/client/Traccar.java
+++ b/src/main/java/org/traccar/web/client/Traccar.java
@@ -27,8 +27,8 @@ public class Traccar implements EntryPoint, LoginController.LoginHandler {
*/
@Override
public void onModuleLoad() {
- //new LoginController().login(this);
- onLogin(); // TODO: remove from production
+ new LoginController().login(this);
+ //onLogin(); // TODO: remove from production
/*try {
GlobalDatabaseService.getInstance().getPositions(
@@ -71,7 +71,7 @@ public class Traccar implements EntryPoint, LoginController.LoginHandler {
devicePanel.setWidth("20%");
devicePanel.setShowResizeBar(true);
- devicePanel.updateDevices(testDevices()); // TODO: remove from production
+ //devicePanel.updateDevices(testDevices()); // TODO: remove from production
mapPanel = new MapPanel();
mapPanel.setWidth("80%");
diff --git a/src/main/java/org/traccar/web/client/view/ArchivePanel.java b/src/main/java/org/traccar/web/client/view/ArchivePanel.java
index b2ce329..3929be2 100644
--- a/src/main/java/org/traccar/web/client/view/ArchivePanel.java
+++ b/src/main/java/org/traccar/web/client/view/ArchivePanel.java
@@ -1,12 +1,12 @@
package org.traccar.web.client.view;
-import com.smartgwt.client.widgets.toolbar.ToolStrip;
+import com.smartgwt.client.widgets.form.fields.DateTimeItem;
+import com.smartgwt.client.widgets.form.fields.SelectItem;
import com.smartgwt.client.widgets.grid.ListGrid;
import com.smartgwt.client.widgets.grid.ListGridField;
import com.smartgwt.client.widgets.layout.SectionStack;
import com.smartgwt.client.widgets.layout.SectionStackSection;
-import com.smartgwt.client.widgets.form.fields.SelectItem;
-import com.smartgwt.client.widgets.form.fields.DateTimeItem;
+import com.smartgwt.client.widgets.toolbar.ToolStrip;
import com.smartgwt.client.widgets.toolbar.ToolStripButton;
/**
@@ -18,7 +18,7 @@ public class ArchivePanel extends SectionStack {
private ListGrid list;
public ArchivePanel() {
- SectionStackSection section = new SectionStackSection("Archive");
+ SectionStackSection section = new SectionStackSection("Archive");
section.setCanCollapse(false);
section.setExpanded(true);