CRITFC / Helpdesk

Parent repository for tribal CDMS documentation and issues
1 stars 0 forks source link

ng-blur fires twice #42

Closed nowinski closed 3 years ago

nowinski commented 3 years ago

Noticed today that onHeaderEditingStopped (/app/core/datasets/components/dataset-editor/dataset-edit-form.js) fires twice when header fields lose focus. Dev tools call stack says . . .

First call is from /app/core/common/directives/roles.js

Second call from /bower_components/angular/angular.js

Not sure exactly what’s happening here in roles.js but line 7 seems to be the root of the double onHeaderEditingStopped (or double ng-Blur) call Capture