Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign

This commit is contained in:
Henry Oswald 2014-07-21 14:18:43 +01:00
commit 1322f3e183

View file

@ -263,7 +263,6 @@ module.exports = EditorController =
callback?()
renameProject: (project_id, newName, callback = (err) ->) ->
newName = sanitize.escape(newName)
ProjectDetailsHandler.renameProject project_id, newName, =>
EditorRealTimeController.emitToRoom project_id, 'projectNameUpdated', newName
callback()