Bug #5136

"t is not defined" Error when editor gets destroyed

2012-04-10 14:46:16 By: Febe
firefox msie safari chrome opera
Closed Priority: 3 Resolution: Fixed Assigned to: None
Description of problem:
Javascript error on line 13518. t is not defined.

Steps to reproduce:
1. Call tinyMCE.execCommand('mceRemoveControl', false, idOfTextarea);

In 3.5b3 you renamed t to self, but didn't rename the used variable in the same line to get the doc.

Change line 13518 (in function hide()) to: var self = this, doc = self.getDoc();


If you wish to follow or post a comment, you need to be registered and logged in.


User Image
  • 2012-04-10 16:48:43


This one is fixed in the 3.5 branch will be part of the next release.

User Image
  • 2012-04-14 20:45:48


I am sorry to report that I am using v3.5 of your editor and the bug is still present.

User Image
  • 2012-04-16 17:44:53


You need the latest branch build of 3.5 to get the fix.