aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-11 22:16:57 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-11 22:16:57 +1300
commit85734e4b1e18f3b96b8341e79b47b8503b97cde7 (patch)
tree84c0bbf2e1fb1b3cdfe1bf58c312420ff25663d2 /src/org/traccar
parent42be63886456eb163bb364d8a8f953795dc87b49 (diff)
downloadtrackermap-web-85734e4b1e18f3b96b8341e79b47b8503b97cde7.tar.gz
trackermap-web-85734e4b1e18f3b96b8341e79b47b8503b97cde7.tar.bz2
trackermap-web-85734e4b1e18f3b96b8341e79b47b8503b97cde7.zip
Fix broken build
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/web/client/Traccar.java32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/org/traccar/web/client/Traccar.java b/src/org/traccar/web/client/Traccar.java
index c596972d..3b4bfda7 100644
--- a/src/org/traccar/web/client/Traccar.java
+++ b/src/org/traccar/web/client/Traccar.java
@@ -29,37 +29,7 @@ public class Traccar implements EntryPoint, LoginController.LoginHandler {
@Override
public void onModuleLoad() {
- //new LoginController().login(this);
-
- try {
- String messageXml = "<a>1</a><b>2</b>";
- //parse the XML document into a DOM
- String x = XmlParser.getElement(messageXml, "b");
- XmlParser.enumerateElements(messageXml);
-
-
-
-
-
- // find the sender's display name in an attribute of the <from> tag
- /*Node fromNode = messageDom.getElementsByTagName("from").item(0);
- String from = ((Element)fromNode).getAttribute("displayName");
- fromLabel.setText(from);
-
- // get the subject using Node's getNodeValue() function
- String subject = messageDom.getElementsByTagName("subject").item(0).getFirstChild().getNodeValue();
- subjectLabel.setText(subject);
-
- // get the message body by explicitly casting to a Text node
- Text bodyNode = (Text)messageDom.getElementsByTagName("body").item(0).getFirstChild();
- String body = bodyNode.getData();
- bodyLabel.setText(body);*/
-
- new AlertMessageBox("Info", "a=" + x).show();
-
- } catch (DOMException e) {
- new AlertMessageBox("Error", e.getMessage()).show();
- }
+ new LoginController().login(this);
}
@Override