Support 1222 - Set form to state when user clicks clear PW button.

This commit is contained in:
chouseknecht 2013-09-11 14:06:08 -04:00
parent 5308278aa4
commit 77ef04de55
2 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,7 @@ function CredentialsAdd ($scope, $rootScope, $compile, $location, $log, $routePa
scope[fld] = '';
scope[associated] = '';
scope[form.name + '_form'][associated].$setValidity('awpassmatch', true);
scope[form.name + '_form'].$setDirty();
}
}
@ -345,6 +346,7 @@ function CredentialsEdit ($scope, $rootScope, $compile, $location, $log, $routeP
scope[fld] = '';
scope[associated] = '';
scope[form.name + '_form'][associated].$setValidity('awpassmatch', true);
scope[form.name + '_form'].$setDirty();
}
}

View File

@ -499,6 +499,7 @@ function ProjectsEdit ($scope, $rootScope, $compile, $location, $log, $routePara
scope[fld] = '';
scope[associated] = '';
scope[form.name + '_form'][associated].$setValidity('awpassmatch', true);
scope[form.name + '_form'].$setDirty();
}
scope.scmChange = function() {