Repository: kylin
Updated Branches:
  refs/heads/2.0-rc a19fce656 -> aa86b31ef


minor, UI disable modelname edit  when edit model


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

Branch: refs/heads/2.0-rc
Commit: aa86b31ef5c0ce2946e8378cdd0d1701189c86cf
Parents: a19fce6
Author: Jason <jiat...@163.com>
Authored: Fri Mar 4 17:56:49 2016 +0800
Committer: Jason <jiat...@163.com>
Committed: Fri Mar 4 17:56:49 2016 +0800

----------------------------------------------------------------------
 webapp/app/partials/modelDesigner/model_info.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/aa86b31e/webapp/app/partials/modelDesigner/model_info.html
----------------------------------------------------------------------
diff --git a/webapp/app/partials/modelDesigner/model_info.html 
b/webapp/app/partials/modelDesigner/model_info.html
index a290bfb..bace322 100644
--- a/webapp/app/partials/modelDesigner/model_info.html
+++ b/webapp/app/partials/modelDesigner/model_info.html
@@ -31,7 +31,7 @@
                     <div class="col-xs-12 col-sm-6" 
ng-class="{'has-error':forms.model_info_form.model_name.$invalid && 
(forms.model_info_form.model_name.$dirty||forms.model_info_form.$sbumitted)}">
 
                         <!-- edit -->
-                        <input ng-if="state.mode=='edit'" name="model_name" 
type="text" class="form-control"
+                        <input ng-if="state.mode=='edit'" name="model_name" 
type="text" class="form-control"  ng-disabled="{{modelMode=='editExistModel'}}"
                                ng-model="modelsManager.selectedModel.name" 
required
                                placeholder="You can use letters, numbers, and 
'_'"
                                ng-maxlength=100 ng-pattern="/^\w+$/" />

Reply via email to