From 580e4d348c1956328f056da21b455692700b4a13 Mon Sep 17 00:00:00 2001 From: Ruben Daniels Date: Thu, 12 Feb 2015 16:07:51 +0000 Subject: [PATCH] Add salt to the right options --- plugins/c9.ide.dialog.common/error.js | 1 + plugins/c9.ide.dialog.common/filechange.js | 14 +++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/plugins/c9.ide.dialog.common/error.js b/plugins/c9.ide.dialog.common/error.js index 6b82c801..7a6cfde5 100644 --- a/plugins/c9.ide.dialog.common/error.js +++ b/plugins/c9.ide.dialog.common/error.js @@ -236,6 +236,7 @@ define(function(require, exports, module) { offset = 0; error = null; hideTimeout = null; + disconnect = null; }); /***** Register and define API *****/ diff --git a/plugins/c9.ide.dialog.common/filechange.js b/plugins/c9.ide.dialog.common/filechange.js index 1761bda0..f98e91ce 100644 --- a/plugins/c9.ide.dialog.common/filechange.js +++ b/plugins/c9.ide.dialog.common/filechange.js @@ -48,11 +48,6 @@ define(function(require, module, exports) { /***** Register *****/ plugin.freezePublicAPI({ - show: show - }) - - register("", { - "dialog.filechange": plugin, /** * */ @@ -61,6 +56,15 @@ define(function(require, module, exports) { { id: "applyall", visible: value} ]); }, + + /** + * + */ + show: show + }); + + register("", { + "dialog.filechange": plugin, }); } }); \ No newline at end of file