diff --git a/services/web/public/coffee/ide/templates/controllers/TemplatesController.coffee b/services/web/public/coffee/ide/templates/controllers/TemplatesController.coffee index f5e9f0777b..10c6cf9000 100644 --- a/services/web/public/coffee/ide/templates/controllers/TemplatesController.coffee +++ b/services/web/public/coffee/ide/templates/controllers/TemplatesController.coffee @@ -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