diff mbox

[Branch,~linaro-validation/lava-dashboard/trunk] Rev 275: Handle a case where we have multiple dashboard initialization requests on one page

Message ID 20111021004713.12879.62184.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki Oct. 21, 2011, 12:47 a.m. UTC
------------------------------------------------------------
revno: 275
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: lava-dashboard
timestamp: Fri 2011-10-21 02:22:23 +0200
message:
  Handle a case where we have multiple dashboard initialization requests on one page
modified:
  dashboard_app/static/js/jquery.dashboard.js


--
lp:lava-dashboard
https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk

You are subscribed to branch lp:lava-dashboard.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'dashboard_app/static/js/jquery.dashboard.js'
--- dashboard_app/static/js/jquery.dashboard.js	2011-07-19 12:20:02 +0000
+++ dashboard_app/static/js/jquery.dashboard.js	2011-10-21 00:22:23 +0000
@@ -13,6 +13,8 @@ 
       if (_server == null) {
         _url = url;
         _server = $.rpc(url, "xml", callback, "2.0");
+      } else {
+        _server = $.rpc(url, "xml", callback, "2.0");
       }
       return _server;
     },