mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 19:02:57 +00:00
When error occurs, unset state.inflight
This commit is contained in:
parent
49446afb82
commit
15d0a40f85
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue