Return-Path: X-Original-To: apmail-kylin-commits-archive@minotaur.apache.org Delivered-To: apmail-kylin-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 0B16618192 for ; Sun, 21 Feb 2016 11:51:58 +0000 (UTC) Received: (qmail 5269 invoked by uid 500); 21 Feb 2016 11:51:58 -0000 Delivered-To: apmail-kylin-commits-archive@kylin.apache.org Received: (qmail 5201 invoked by uid 500); 21 Feb 2016 11:51:58 -0000 Mailing-List: contact commits-help@kylin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.apache.org Delivered-To: mailing list commits@kylin.apache.org Received: (qmail 3884 invoked by uid 99); 21 Feb 2016 11:51:57 -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; Sun, 21 Feb 2016 11:51:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 40D1DE04BE; Sun, 21 Feb 2016 11:51:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: liyang@apache.org To: commits@kylin.apache.org Date: Sun, 21 Feb 2016 11:52:45 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [50/52] [abbrv] kylin git commit: minor, enable close-on-select for ui-select, dropDown list will not close when user pick up one option minor, enable close-on-select for ui-select, dropDown list will not close when user pick up one option Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/0e5be051 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/0e5be051 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/0e5be051 Branch: refs/heads/1.x-HBase1.1.3 Commit: 0e5be051fed9d69ee2293130e07040558f258049 Parents: 0c120c3 Author: janzhongi Authored: Fri Feb 19 16:45:44 2016 +0800 Committer: janzhongi Committed: Fri Feb 19 16:45:44 2016 +0800 ---------------------------------------------------------------------- webapp/app/js/controllers/cubeSchema.js | 10 +++++++--- webapp/app/partials/cubeDesigner/advanced_settings.html | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/0e5be051/webapp/app/js/controllers/cubeSchema.js ---------------------------------------------------------------------- diff --git a/webapp/app/js/controllers/cubeSchema.js b/webapp/app/js/controllers/cubeSchema.js index bbcc1fb..ba64a1d 100755 --- a/webapp/app/js/controllers/cubeSchema.js +++ b/webapp/app/js/controllers/cubeSchema.js @@ -185,10 +185,14 @@ KylinApp.controller('CubeSchemaCtrl', function ($scope, QueryService, UserServic $scope.cubeMetaFrame.rowkey.aggregation_groups.push([]); }; - $scope.refreshAggregationGroup = function (list, index, aggregation_groups) { - if (aggregation_groups) { - list[index] = aggregation_groups; + $scope.refreshAggregationGroup = function (list, index, aggregation_group) { + if (aggregation_group) { + list[index].length = aggregation_group.length; + for(var i=0;i