Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BC48B200B38 for ; Fri, 8 Jul 2016 18:10:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BB3CD160A77; Fri, 8 Jul 2016 16:10:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C8223160A8A for ; Fri, 8 Jul 2016 18:10:06 +0200 (CEST) Received: (qmail 43826 invoked by uid 500); 8 Jul 2016 16:10:06 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 42744 invoked by uid 99); 8 Jul 2016 16:10:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2016 16:10:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DBA4DE03C0; Fri, 8 Jul 2016 16:10:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: scnakandala@apache.org To: commits@airavata.apache.org Date: Fri, 08 Jul 2016 16:10:21 -0000 Message-Id: In-Reply-To: <288f5e84555b4d83863ba28799350838@git.apache.org> References: <288f5e84555b4d83863ba28799350838@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [18/23] airavata-php-gateway git commit: fix to pattern extraction logic archived-at: Fri, 08 Jul 2016 16:10:07 -0000 fix to pattern extraction logic Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/a1c96299 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/a1c96299 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/a1c96299 Branch: refs/heads/grouper-integration Commit: a1c9629914ccf8bb9773ca0c7bb8216a502f45b9 Parents: fb7add7 Author: Jeff Kinnison Authored: Thu Jul 7 13:40:45 2016 -0400 Committer: Jeff Kinnison Committed: Thu Jul 7 13:40:45 2016 -0400 ---------------------------------------------------------------------- public/js/sharing/share.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/a1c96299/public/js/sharing/share.js ---------------------------------------------------------------------- diff --git a/public/js/sharing/share.js b/public/js/sharing/share.js index 07c341a..86d3b9a 100755 --- a/public/js/sharing/share.js +++ b/public/js/sharing/share.js @@ -268,11 +268,11 @@ $(function() { $target = $(e.target); pattern = $target.val().toLowerCase(); if (!pattern || pattern === '') { - re = /.+/; + pattern = /.+/; } visible = ($('.show-groups').hasClass('btn-primary') ? '.group-thumbnail' : '.user-thumbnail'); $users = $('#share-box-users').children(visible); - userFilter($users, re); + userFilter($users, pattern); return false; });