Clone the tinyMCE config to prevent referenced data from changing during init. Fixes #12461

This commit is contained in:
colin 2015-12-08 10:38:02 -08:00
parent 5b83fa16a8
commit dc47a3ef7d
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
7.10.30
- fixed: Do not generate the Not Found page when JS or CSS is requested. In admin mode, this is bypassed so that admins can see which pages are really missing and can easily add them.
- fixed: Allow IS NULL/IS NOT NULL queries in the Asset Report.
- fixed #12461: Carousel fails to initial the rich editor in multiple tabs
7.10.29
- fixed #12454: Email to Group ignores the From field

View file

@ -75,7 +75,7 @@ WebGUI.Carousel.Editor.prototype.addTab
ta.appendChild( document.createTextNode( data.text ) );
el.appendChild( ta );
var conf = this.mceConfig;
var conf = JSON.parse(JSON.stringify(this.mceConfig));
conf.mode = "exact";
conf.elements = ta.name;