Return-Path: X-Original-To: apmail-marmotta-commits-archive@minotaur.apache.org Delivered-To: apmail-marmotta-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34B101063B for ; Thu, 19 Dec 2013 14:49:09 +0000 (UTC) Received: (qmail 48410 invoked by uid 500); 19 Dec 2013 14:49:08 -0000 Delivered-To: apmail-marmotta-commits-archive@marmotta.apache.org Received: (qmail 48354 invoked by uid 500); 19 Dec 2013 14:49:08 -0000 Mailing-List: contact commits-help@marmotta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@marmotta.apache.org Delivered-To: mailing list commits@marmotta.apache.org Received: (qmail 47648 invoked by uid 99); 19 Dec 2013 14:49:02 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 14:49:02 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 89E831E05A; Thu, 19 Dec 2013 14:49:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jakob@apache.org To: commits@marmotta.apache.org Date: Thu, 19 Dec 2013 14:49:06 -0000 Message-Id: In-Reply-To: <9d0594d07a774c2bb646166fb91e6ad2@git.apache.org> References: <9d0594d07a774c2bb646166fb91e6ad2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [5/5] git commit: Fixed two small bugs in the admin-ui (core/context and kiwi-reasoner/config) Fixed two small bugs in the admin-ui (core/context and kiwi-reasoner/config) Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/883aa783 Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/883aa783 Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/883aa783 Branch: refs/heads/develop Commit: 883aa78347133dcf084d63dd9bb5b8d177840f7e Parents: 97425c6 Author: Jakob Frank Authored: Thu Dec 19 15:47:58 2013 +0100 Committer: Jakob Frank Committed: Thu Dec 19 15:47:58 2013 +0100 ---------------------------------------------------------------------- .../marmotta-core/src/main/resources/web/admin/contexts.html | 2 +- .../src/main/resources/web/admin/widget/conf_reasoner.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/883aa783/platform/marmotta-core/src/main/resources/web/admin/contexts.html ---------------------------------------------------------------------- diff --git a/platform/marmotta-core/src/main/resources/web/admin/contexts.html b/platform/marmotta-core/src/main/resources/web/admin/contexts.html index 7a0127f..4a94291 100644 --- a/platform/marmotta-core/src/main/resources/web/admin/contexts.html +++ b/platform/marmotta-core/src/main/resources/web/admin/contexts.html @@ -64,7 +64,7 @@ $("", {"id": "context_"+id}) .append($("", {"text": label})) .append($("").append($("", {"text": uri, "href": uri}))) - .append($("").append(size?$("", {"text":size+" triple"+(size==1?"":"s")}):$("", {"text":"unknown"}))) + .append($("").append(size!==undefined?$("", {"text":size+" triple"+(size==1?"":"s")}):$("", {"text":"unknown"}))) .append(appendDownloadLinks($(""), ctx)) .append($("").append($("