Save template description on modal close

This commit is contained in:
James Allen 2014-11-07 10:26:09 +00:00
parent a59a2dcf39
commit f7e6b24ff6

View file

@ -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