diff --git a/services/web/public/coffee/ide/editor/controllers/SavingNotificationController.coffee b/services/web/public/coffee/ide/editor/controllers/SavingNotificationController.coffee index c59e717407..3629939798 100644 --- a/services/web/public/coffee/ide/editor/controllers/SavingNotificationController.coffee +++ b/services/web/public/coffee/ide/editor/controllers/SavingNotificationController.coffee @@ -27,6 +27,8 @@ define [ doc: ide.fileTreeManager.findEntityById(doc_id) } + # for performance, only update the display if the old or new + # statuses have any unsaved files if _.size(newStatus) or _.size(oldStatus) $scope.docSavingStatus = newStatus $scope.$apply()