From eff02eafd29a2684f95b97ab63acfc4fee85db48 Mon Sep 17 00:00:00 2001 From: Lorefnon Date: Sun, 7 Oct 2012 04:59:32 +0530 Subject: [PATCH] Fix a bug hindering re-opening of previously opened files --- components/active/init.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/active/init.js b/components/active/init.js index bf32ac5..ed387ac 100755 --- a/components/active/init.js +++ b/components/active/init.js @@ -241,6 +241,7 @@ var active = { var next_session = this.sessions[next_path]; editor.remove_session(session, next_session); } + delete this.sessions[path]; /*if ((session.thumb).hasClass('active')) { $('#current-file') .html('');