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 D916D200C00 for ; Wed, 18 Jan 2017 12:35:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D7A35160B44; Wed, 18 Jan 2017 11:35:44 +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 2C0D5160B3A for ; Wed, 18 Jan 2017 12:35:44 +0100 (CET) Received: (qmail 32606 invoked by uid 500); 18 Jan 2017 11:35:43 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 32596 invoked by uid 99); 18 Jan 2017 11:35:43 -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; Wed, 18 Jan 2017 11:35:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4358BDFA70; Wed, 18 Jan 2017 11:35:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: gnagar@apache.org To: commits@ambari.apache.org Message-Id: <8e4bb6fb3e944ca6b800c778d9c9063e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-19606. Search button is not functional in the dashboard(Padma Priya N via gauravn7) Date: Wed, 18 Jan 2017 11:35:43 +0000 (UTC) archived-at: Wed, 18 Jan 2017 11:35:45 -0000 Repository: ambari Updated Branches: refs/heads/trunk f7155d9c4 -> 61d0f640b AMBARI-19606. Search button is not functional in the dashboard(Padma Priya N via gauravn7) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/61d0f640 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/61d0f640 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/61d0f640 Branch: refs/heads/trunk Commit: 61d0f640b0d647b9c196f60dcd09b41adba05504 Parents: f7155d9 Author: Gaurav Nagar Authored: Wed Jan 18 17:04:50 2017 +0530 Committer: Gaurav Nagar Committed: Wed Jan 18 17:05:30 2017 +0530 ---------------------------------------------------------------------- .../src/main/resources/ui/app/components/search-create-new-bar.js | 3 +++ .../ui/app/templates/components/search-create-new-bar.hbs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/61d0f640/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js ---------------------------------------------------------------------- diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js b/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js index f9226f4..e9bc44f 100644 --- a/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js +++ b/contrib/views/wfmanager/src/main/resources/ui/app/components/search-create-new-bar.js @@ -189,6 +189,9 @@ export default Ember.Component.extend(Ember.Evented,{ elem.addClass("btn-primary"); this.sendAction('onSearch', { type: type, filter: filter }); }, + onSearchClicked(){ + this.$('#search-field').tagsinput('add', 'Name:'+this.$('.tt-input').val()); + }, refresh(){ this.sendAction('onSearch', this.get('history').getSearchParams()); }, http://git-wip-us.apache.org/repos/asf/ambari/blob/61d0f640/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/search-create-new-bar.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/search-create-new-bar.hbs b/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/search-create-new-bar.hbs index 33539ea..80f3b14 100644 --- a/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/search-create-new-bar.hbs +++ b/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/search-create-new-bar.hbs @@ -28,7 +28,7 @@ -
+