When error occurs, unset state.inflight

This commit is contained in:
Shane Kilkelly 2017-03-31 10:30:28 +01:00
parent 49446afb82
commit 15d0a40f85

View file

@ -97,6 +97,7 @@ define [
.createFolder(name, parent_folder)
.error (e)->
$scope.error = e
$scope.state.inflight = false
.success () ->
$scope.state.inflight = false
$modalInstance.close()