You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2018/12/11 20:35:57 UTC

[trafficcontrol] branch master updated: removes max-length from profile name (#3043)

This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new aa2db6e  removes max-length from profile name (#3043)
aa2db6e is described below

commit aa2db6ec2f96eaadf636c5e44e8efc138a3113b6
Author: Jeremy Mitchell <mi...@users.noreply.github.com>
AuthorDate: Tue Dec 11 13:35:52 2018 -0700

    removes max-length from profile name (#3043)
---
 .../app/src/common/modules/form/profile/form.profile.tpl.html           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_portal/app/src/common/modules/form/profile/form.profile.tpl.html b/traffic_portal/app/src/common/modules/form/profile/form.profile.tpl.html
index a906167..a06974d 100644
--- a/traffic_portal/app/src/common/modules/form/profile/form.profile.tpl.html
+++ b/traffic_portal/app/src/common/modules/form/profile/form.profile.tpl.html
@@ -48,7 +48,7 @@ under the License.
             <div class="form-group" ng-class="{'has-error': hasError(profileForm.name), 'has-feedback': hasError(profileForm.name)}">
                 <label class="control-label col-md-2 col-sm-2 col-xs-12">Name *</label>
                 <div class="col-md-10 col-sm-10 col-xs-12">
-                    <input name="name" type="text" class="form-control" ng-model="profile.name" ng-maxlength="45" ng-pattern="/^\S*$/" required autofocus>
+                    <input name="name" type="text" class="form-control" ng-model="profile.name" ng-pattern="/^\S*$/" required autofocus>
                     <small class="input-error" ng-show="hasPropertyError(profileForm.name, 'required')">Required</small>
                     <small class="input-error" ng-show="hasPropertyError(profileForm.name, 'maxlength')">Too Long</small>
                     <small class="input-error" ng-show="hasPropertyError(profileForm.name, 'pattern')">No spaces</small>