Commit eaa178d3 authored by Randall Leeds's avatar Randall Leeds

Remove obsolete autofill hack

parent 4d89319b
...@@ -62,14 +62,6 @@ class App ...@@ -62,14 +62,6 @@ class App
$scope.initUpdater() $scope.initUpdater()
$scope.reloadAnnotations() $scope.reloadAnnotations()
# Update scope with auto-filled form field values
$timeout ->
for i in $element.find('input') when i.value
$i = angular.element(i)
$i.triggerHandler('change')
$i.triggerHandler('input')
, 200 # We hope this is long enough
$scope.$watch 'model.personas', (newValue, oldValue) => $scope.$watch 'model.personas', (newValue, oldValue) =>
if newValue?.length if newValue?.length
unless $scope.model.persona and $scope.model.persona in newValue unless $scope.model.persona and $scope.model.persona in newValue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment