[Time Conductor] Test choices via picker

...to ensure that they trigger blur events. Also, test changes
via text entry to ensure that they don't (the template is responsible
for this.)
This commit is contained in:
Victor Woeltjen
2015-11-27 12:36:40 -08:00
parent 7d4e7a0925
commit 271b5d1a73
2 changed files with 46 additions and 12 deletions

View File

@ -71,8 +71,8 @@ define(
if (value !== $scope.ngModel[$scope.field]) {
$scope.ngModel[$scope.field] = value;
updateFromModel(value);
if ($scope.structure && $scope.structure.submit) {
$scope.structure.submit();
if ($scope.ngBlur) {
$scope.ngBlur();
}
}
}