From ae620b9ee4059f49bd33ff8a5d2d0559a4ff513f Mon Sep 17 00:00:00 2001 From: Lorefnon Date: Tue, 9 Oct 2012 03:53:56 +0530 Subject: [PATCH] Fix Issue#41 resulting from a reference to active session being returned even after closing all the editor instances --- components/editor/init.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/editor/init.js b/components/editor/init.js index ffce709..dc8b9f7 100755 --- a/components/editor/init.js +++ b/components/editor/init.js @@ -75,6 +75,7 @@ var editor = { exterminate: function(){ $('#editor-region').html('').append($("
").attr('id', 'editor')); this.instances = []; + this.active_instance = null; }, remove_session: function(session, replacement_session){