mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Save template description on modal close
This commit is contained in:
parent
a59a2dcf39
commit
f7e6b24ff6
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ define [
|
||||||
_csrf: window.csrfToken
|
_csrf: window.csrfToken
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Save the description on modal close
|
||||||
|
$modalInstance.result.finally () -> updateProjectDescription()
|
||||||
|
|
||||||
$scope.publishTemplate = ->
|
$scope.publishTemplate = ->
|
||||||
$scope.state.publishInflight = true
|
$scope.state.publishInflight = true
|
||||||
updateProjectDescription()
|
updateProjectDescription()
|
||||||
|
|
Loading…
Reference in a new issue