Merge pull request #4067 from kensible/3944-reset-all

Fixed current form tracker for reset all
This commit is contained in:
kensible
2016-11-18 11:47:46 -05:00
committed by GitHub

View File

@@ -354,7 +354,7 @@ export default [
ConfigurationService.resetAll()
.then(function() {
populateFromApi();
$scope[formTracker.currentFormName].$setPristine();
$scope[formTracker.currentFormName()].$setPristine();
})
.catch(function(error) {
ProcessErrors($scope, error, status, formDefs[formTracker.getCurrent()],