destroy session when destroying the editor
This commit is contained in:
parent
ffc547d2c3
commit
dc37f938c9
6 changed files with 40 additions and 26 deletions
|
|
@ -95,7 +95,8 @@ var Text = function(parentEl) {
|
|||
};
|
||||
this.setSession = function(session) {
|
||||
this.session = session;
|
||||
this.$computeTabString();
|
||||
if (session)
|
||||
this.$computeTabString();
|
||||
};
|
||||
|
||||
this.showInvisibles = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue