mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -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
|
@ -47,6 +47,9 @@ define [
|
|||
description: $scope.templateDetails.description
|
||||
_csrf: window.csrfToken
|
||||
})
|
||||
|
||||
# Save the description on modal close
|
||||
$modalInstance.result.finally () -> updateProjectDescription()
|
||||
|
||||
$scope.publishTemplate = ->
|
||||
$scope.state.publishInflight = true
|
||||
|
|
Loading…
Reference in a new issue