AC-450 initialize SCM Branch title value when editing a project. Added awValidUrl directive.

This commit is contained in:
chouseknecht
2013-09-11 15:35:45 -04:00
parent 85833914ff
commit 39ceceb18e
5 changed files with 31 additions and 3 deletions

View File

@@ -371,6 +371,7 @@ function ProjectsEdit ($scope, $rootScope, $compile, $location, $log, $routePara
}
master['scm_type'] = scope['scm_type'];
scope.scmBranchLabel = (scope.scm_type && scope.scm_type.value && scope.scm_type.value == 'svn') ? 'Revision #' : 'SCM Branch';
setAskCheckboxes();
// Initialize related search functions. Doing it here to make sure relatedSets object is populated.