destroy session when destroying the editor

This commit is contained in:
nightwing 2014-08-09 18:30:20 +04:00
commit dc37f938c9
6 changed files with 40 additions and 26 deletions

View file

@ -95,7 +95,8 @@ var Text = function(parentEl) {
};
this.setSession = function(session) {
this.session = session;
this.$computeTabString();
if (session)
this.$computeTabString();
};
this.showInvisibles = false;