Ticket #7921: 7921.patch
File 7921.patch, 558 bytes (added by , 13 years ago) |
---|
-
plugin.js
168 168 var currentMode = this.getMode(); 169 169 data = currentMode.getData(); 170 170 currentMode.unload( holderElement ); 171 this.mode = '';171 172 172 } 173 173 174 174 holderElement.setHtml( '' ); … … 188 188 } 189 189 190 190 modeEditor.load( holderElement, ( typeof data ) != 'string' ? this.getData() : data); 191 this.mode = (this.mode == 'wysiwyg') ? 'source' : 'wysiwyg'; 191 192 }; 192 193 193 194 /**