You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by zh...@apache.org on 2016/07/12 12:40:37 UTC

kylin git commit: KYLIN-1786 UI for extended columns as measure, add init value 100 for return type

Repository: kylin
Updated Branches:
  refs/heads/master 2b1f997e0 -> 076419ea5


KYLIN-1786 UI for extended columns as measure, add init value 100 for return type


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/076419ea
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/076419ea
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/076419ea

Branch: refs/heads/master
Commit: 076419ea52b6f3ab1782484e4e10514fe9def0a7
Parents: 2b1f997
Author: Jason <ji...@163.com>
Authored: Tue Jul 12 20:40:23 2016 +0800
Committer: Jason <ji...@163.com>
Committed: Tue Jul 12 20:40:23 2016 +0800

----------------------------------------------------------------------
 webapp/app/partials/cubeDesigner/measures.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/076419ea/webapp/app/partials/cubeDesigner/measures.html
----------------------------------------------------------------------
diff --git a/webapp/app/partials/cubeDesigner/measures.html b/webapp/app/partials/cubeDesigner/measures.html
index 469f69e..46aeefe 100755
--- a/webapp/app/partials/cubeDesigner/measures.html
+++ b/webapp/app/partials/cubeDesigner/measures.html
@@ -191,8 +191,8 @@
                                 <input extended-column-return
                                   ng-if="newMeasure.function.expression == 'EXTENDED_COLUMN'"
                                   type="text" placeholder="Kylin won\u2019t save more than this number of bytes" class="form-control"
-                                        tooltip-trigger="focus"
-                                        ng-init=""
+                                       tooltip-trigger="focus"
+                                       ng-init="newMeasure.function.returntype=newMeasure.function.returntype?newMeasure.function.returntype:'extendedcolumn(100)'"
                                        ng-model="newMeasure.function.returntype" required />
 
                                   <span class="font-color-default"