From patchwork Fri Oct 21 00:47:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 4764 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5A12F23E03 for ; Fri, 21 Oct 2011 00:47:15 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id 49F9AA1822B for ; Fri, 21 Oct 2011 00:47:15 +0000 (UTC) Received: by eyg5 with SMTP id 5so4428393eyg.11 for ; Thu, 20 Oct 2011 17:47:15 -0700 (PDT) Received: by 10.223.85.139 with SMTP id o11mr21393629fal.0.1319158035061; Thu, 20 Oct 2011 17:47:15 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.1.71 with SMTP id 7cs143573lak; Thu, 20 Oct 2011 17:47:14 -0700 (PDT) Received: by 10.216.82.78 with SMTP id n56mr6463874wee.71.1319158034308; Thu, 20 Oct 2011 17:47:14 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id w3si8349851wec.33.2011.10.20.17.47.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 17:47:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RH3GT-0007CN-RC for ; Fri, 21 Oct 2011 00:47:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id C17C0FB81C for ; Fri, 21 Oct 2011 00:47:13 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard X-Launchpad-Branch: ~linaro-validation/lava-dashboard/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 275 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [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> Date: Fri, 21 Oct 2011 00:47:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14165"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 303392b562be865012f6b68ebf7225364eb47381 ------------------------------------------------------------ revno: 275 committer: Zygmunt Krynicki 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 === 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; },