From commits-return-121624-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Sat Nov 10 18:28:31 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E8BFF180668 for ; Sat, 10 Nov 2018 18:28:30 +0100 (CET) Received: (qmail 43324 invoked by uid 500); 10 Nov 2018 17:28:30 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 43315 invoked by uid 99); 10 Nov 2018 17:28:30 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Nov 2018 17:28:30 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 42C9282920; Sat, 10 Nov 2018 17:28:29 +0000 (UTC) Date: Sat, 10 Nov 2018 17:28:28 +0000 To: "commits@ignite.apache.org" Subject: [ignite-teamcity-bot] branch master updated: Hack to avoid double table creation for master MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <154187090876.2944.675543310324981397@gitbox.apache.org> From: dpavlov@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: ignite-teamcity-bot X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 152411179e6f0267186c939e513b14e001630398 X-Git-Newrev: e186fa6883f0793e17ffaa95e3fb6a671e9cda25 X-Git-Rev: e186fa6883f0793e17ffaa95e3fb6a671e9cda25 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. dpavlov pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git The following commit(s) were added to refs/heads/master by this push: new e186fa6 Hack to avoid double table creation for master e186fa6 is described below commit e186fa6883f0793e17ffaa95e3fb6a671e9cda25 Author: Dmitriy Pavlov AuthorDate: Sat Nov 10 20:28:24 2018 +0300 Hack to avoid double table creation for master --- ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js b/ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js index 22073b7..89d351e 100644 --- a/ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js +++ b/ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js @@ -1,8 +1,8 @@ function drawTable(srvId, suiteId, element) { + let tableId = "serverContributions-" + srvId; element.append("

" + - "\n" + + "
\n" + " \n" + " \n" + " \n" + @@ -22,6 +22,11 @@ function requestTableForServer(srvId, suiteId, element) { if (srvId != "apache") return; + let tableId = "serverContributions-" + srvId; + + if ($("#" + tableId).length > 0) + return; + drawTable(srvId, suiteId, element); $.ajax({
.