Repository: kylin Updated Branches: refs/heads/master b8a96dbf4 -> 8c0c44b88
KYLIN-2243 Signed-off-by: shaofengshi <shaofeng...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/8c0c44b8 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/8c0c44b8 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/8c0c44b8 Branch: refs/heads/master Commit: 8c0c44b887e2caa21b097c2334f8d21c42462e80 Parents: b8a96db Author: luguosheng <550175...@qq.com> Authored: Thu Feb 16 16:23:28 2017 +0800 Committer: shaofengshi <shaofeng...@apache.org> Committed: Thu Feb 16 16:37:12 2017 +0800 ---------------------------------------------------------------------- webapp/app/js/controllers/cubeMeasures.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/8c0c44b8/webapp/app/js/controllers/cubeMeasures.js ---------------------------------------------------------------------- diff --git a/webapp/app/js/controllers/cubeMeasures.js b/webapp/app/js/controllers/cubeMeasures.js index 03e913a..856e74f 100644 --- a/webapp/app/js/controllers/cubeMeasures.js +++ b/webapp/app/js/controllers/cubeMeasures.js @@ -58,6 +58,7 @@ KylinApp.controller('CubeMeasuresCtrl', function ($scope, $modal,MetaModel,cubes $scope.nextParameters = []; $scope.measureParamValueColumn=$scope.getCommonMetricColumns(); $scope.newMeasure = (!!measure)? jQuery.extend(true, {},measure):CubeDescModel.createMeasure(); + $scope.newMeasure.function.returntype=$scope.newMeasure.function.returntype.replace(/\,\d+/,''); if(!!measure && measure.function.parameter.next_parameter){ $scope.nextPara.value = measure.function.parameter.next_parameter.value; }