Remove dead code, backend does not send single change events anymore.

This commit is contained in:
Paulo Reis 2017-06-05 10:43:03 +01:00
parent 8d8bcab1e8
commit 6c3cdbcc3a

View file

@ -74,14 +74,6 @@ define [
$scope.$apply()
$timeout () ->
$scope.$broadcast "review-panel:layout"
ide.socket.on "accept-change", (doc_id, change_id) ->
if doc_id != $scope.editor.open_doc_id
getChangeTracker(doc_id).removeChangeId(change_id)
else
$scope.$broadcast "changes:accept", [ change_id ]
updateEntries(doc_id)
$scope.$apply () ->
ide.socket.on "accept-changes", (doc_id, change_ids) ->
if doc_id != $scope.editor.open_doc_id