<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -40,7 +40,6 @@ function createAdapters(iSeptaUrl) {
 function setupAdapters(iSeptaUrl) {
   if (iSeptaUrl) {
     createAdapters(iSeptaUrl);
-    trainview.refresh();
     setRefreshIntervalInSeconds(75);
   } else {
     showBack();
@@ -63,7 +62,7 @@ function setupjQuery() {
 
   $().ajaxError(function() {
     if (!listDisplayed) {
-      showError()
+      showError();
     }
   });
 
@@ -117,6 +116,6 @@ function setRefreshIntervalInSeconds(seconds) {
   if (trainview) {
     console.debug(&quot;Set refresh interval to &quot; + seconds + &quot; seconds&quot;);
     trainview.refresh();
-    setInterval(function() { trainview.refresh() }, seconds * 1000);
+    setInterval(function() { trainview.refresh(); }, seconds * 1000);
   }
 }
\ No newline at end of file</diff>
      <filename>iSepta Train View.dcproj/project.wdgt/application.js</filename>
    </modified>
    <modified>
      <diff>@@ -59,6 +59,8 @@ iSeptaAdapter.prototype = {
   },
 
   set_source: function(source) {
+    this.loading = false;
+    this.last_update_time = null;
     this.source = this.convert_url(source);
   },
 </diff>
      <filename>iSepta Train View.dcproj/project.wdgt/isepta_adapter.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2247f470811e0b9c30052f4bd2280fcccb7006b5</id>
    </parent>
  </parents>
  <author>
    <name>Mat Schaffer</name>
    <email>mat.schaffer@gmail.com</email>
  </author>
  <url>http://github.com/matschaffer/isepta-train-view.wdgt/commit/48f256bf75fcff423a53b9acd7c7b0c81a605823</url>
  <id>48f256bf75fcff423a53b9acd7c7b0c81a605823</id>
  <committed-date>2009-07-07T06:24:47-07:00</committed-date>
  <authored-date>2009-07-07T06:24:47-07:00</authored-date>
  <message>Cleaned up some of the refresh code and url setting in an attempt to avoid problems with refreshing data after changing URLs.</message>
  <tree>13ceaeae2cbf3590631f5875c05c8523ee9a4201</tree>
  <committer>
    <name>Mat Schaffer</name>
    <email>mat.schaffer@gmail.com</email>
  </committer>
</commit>
