From 591e5d841e81f03c3a0e88ba81be32e8191d6a25 Mon Sep 17 00:00:00 2001 From: Ruben Daniels Date: Wed, 11 Feb 2015 17:00:19 +0000 Subject: [PATCH] Fixes reconnect ui not going away --- plugins/c9.fs/proc.js | 2 +- plugins/c9.ide.dialog.common/error.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/c9.fs/proc.js b/plugins/c9.fs/proc.js index 3a738a29..2ce7ece1 100644 --- a/plugins/c9.fs/proc.js +++ b/plugins/c9.fs/proc.js @@ -357,7 +357,7 @@ define(function(require, exports, module) { }, /** - * Spawns a child process in a TMUX and returns a stream object. + * Spawns a child process in a TMUX session and returns a stream object. * Use this method if the process you wish to start requires a * terminal (for instance VI). * diff --git a/plugins/c9.ide.dialog.common/error.js b/plugins/c9.ide.dialog.common/error.js index 3d28bb20..6b82c801 100644 --- a/plugins/c9.ide.dialog.common/error.js +++ b/plugins/c9.ide.dialog.common/error.js @@ -50,6 +50,11 @@ define(function(require, exports, module) { showDisconnect(e); }); }); + vfs.on("away", function(){ + }); + vfs.on("back", function(){ + hideDisconnect(); + }); vfs.on("connect", function(){ hideDisconnect(); });