From 90baf8a7270267b14afae981f0173f5a8faa551a Mon Sep 17 00:00:00 2001 From: Tim Robinson Date: Mon, 8 Jun 2015 14:36:31 +0000 Subject: [PATCH] Change current call of showChangeDialog to show it for all changed paths as it no longer calls itself recursively --- plugins/c9.ide.watcher/gui.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/c9.ide.watcher/gui.js b/plugins/c9.ide.watcher/gui.js index 9828e971..5d5a0a3c 100644 --- a/plugins/c9.ide.watcher/gui.js +++ b/plugins/c9.ide.watcher/gui.js @@ -232,8 +232,12 @@ define(function(require, exports, module) { if (!tabManager.findTab(path)) // drat! tab is gone return; - // Show dialog - showChangeDialog(); + // Show dialogs for changed tabs + for (path in changedPaths) { + tab = changedPaths[path].tab; + data = changedPaths[path].data; + showChangeDialog(tab, data); + } } function checkByStatOrContents() {