diff --git a/apps/spreadsheeteditor/main/app/view/WatchDialog.js b/apps/spreadsheeteditor/main/app/view/WatchDialog.js index 61ecae435..34cb911c1 100644 --- a/apps/spreadsheeteditor/main/app/view/WatchDialog.js +++ b/apps/spreadsheeteditor/main/app/view/WatchDialog.js @@ -149,33 +149,55 @@ define([ 'text!spreadsheeteditor/main/app/template/WatchDialog.template', this.api.asc_registerCallback('asc_onUpdateCellWatches', this.wrapEvents.onRefreshWatchList); }, - refreshList: function() { - var arr = []; - var watches = this.api.asc_getCellWatches(); - if (watches) { - for (var i=0; i=0 && index0) && this.watchList.selectByIndex(this._deletedIndex0) && this.watchList.selectByIndex(this._deletedIndex