minor fix review bug
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/76e321b2 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/76e321b2 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/76e321b2 Branch: refs/heads/master-hbase1.x Commit: 76e321b2d95955959fe3fac030195bbd321f9659 Parents: bc1a49e Author: zhongjian <jiat...@163.com> Authored: Wed Dec 28 15:22:02 2016 +0800 Committer: zhongjian <jiat...@163.com> Committed: Wed Dec 28 15:22:02 2016 +0800 ---------------------------------------------------------------------- webapp/app/partials/cubes/cube_clone.html | 4 ++-- webapp/app/partials/models/model_clone.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/76e321b2/webapp/app/partials/cubes/cube_clone.html ---------------------------------------------------------------------- diff --git a/webapp/app/partials/cubes/cube_clone.html b/webapp/app/partials/cubes/cube_clone.html index f5a332c..a2d3ad1 100644 --- a/webapp/app/partials/cubes/cube_clone.html +++ b/webapp/app/partials/cubes/cube_clone.html @@ -39,8 +39,8 @@ <b>New Cube Name:</b> <br/> <input type="text" class="form-control" name="cube_name" ng-model="targetObj.cubeName" ng-pattern="/^\w+$/" required /> - <small class="help-block red" ng-show="forms.cube_clone_form.cube_name.$error.required && (forms.cube_clone_form.cube_name.$dirty||forms.cube_clone_form.$submitted)">Cube name is required.</small> - <small class="help-block red" ng-show="!forms.cube_clone_form.cube_name.$error.required&&forms.cube_clone_form.cube_name.$invalid && (forms.cube_clone_form.cube_name.$dirty||forms.cube_clone_form.$submitted)">Cube name is invalid.</small> + <small class="help-block red" ng-show="forms.cube_clone_form.cube_name.$error.required && (forms.cube_clone_form.cube_name.$dirty)">Cube name is required.</small> + <small class="help-block red" ng-show="!forms.cube_clone_form.cube_name.$error.required&&forms.cube_clone_form.cube_name.$invalid && (forms.cube_clone_form.cube_name.$dirty)">Cube name is invalid.</small> </div> </div> </div> http://git-wip-us.apache.org/repos/asf/kylin/blob/76e321b2/webapp/app/partials/models/model_clone.html ---------------------------------------------------------------------- diff --git a/webapp/app/partials/models/model_clone.html b/webapp/app/partials/models/model_clone.html index 484821a..2554633 100644 --- a/webapp/app/partials/models/model_clone.html +++ b/webapp/app/partials/models/model_clone.html @@ -50,8 +50,8 @@ <b>New Model Name:</b> <br/> <input type="text" name="model_name" class="form-control" ng-model="targetObj.modelName" ng-pattern="/^\w+$/" required /> - <small class="help-block red" ng-show="forms.model_clone_form.model_name.$error.required && (forms.model_clone_form.model_name.$dirty||forms.model_clone_form.$submitted)">Model name is required.</small> - <small class="help-block red" ng-show="!forms.model_clone_form.model_name.$error.required&&forms.model_clone_form.model_name.$invalid && (forms.model_clone_form.model_name.$dirty||forms.model_clone_form.$submitted)">Model name is invalid.</small> + <small class="help-block red" ng-show="forms.model_clone_form.model_name.$error.required && (forms.model_clone_form.model_name.$dirty)">Model name is required.</small> + <small class="help-block red" ng-show="!forms.model_clone_form.model_name.$error.required&&forms.model_clone_form.model_name.$invalid && (forms.model_clone_form.model_name.$dirty)">Model name is invalid.</small> </div> </div> </div>