Repository: kylin Updated Branches: refs/heads/2.x-staging 2f44970d2 -> ecd12669a
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/ecd12669 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/ecd12669 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/ecd12669 Branch: refs/heads/2.x-staging Commit: ecd12669a7d7f8a2febbc5199c5291ccfbf339d9 Parents: 2f44970 Author: Jason <jiat...@163.com> Authored: Fri Mar 4 17:58:30 2016 +0800 Committer: Jason <jiat...@163.com> Committed: Fri Mar 4 17:59:12 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/ecd12669/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+$/" />