Changeset 1750:5dac57fee3c4 for admin/js
- Timestamp:
- 09/04/13 15:27:14 (12 years ago)
- Branch:
- Ticket #611
- Children:
- 1751:ee2ab5a303c8, 1752:c9ff9890c55e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/jsToolBar/jsToolBar.wysiwyg.js
r1626 r1750 43 43 44 44 jsToolBar.prototype.switchMode = function(mode) { 45 mode = mode || 'xhtml';46 47 45 if (mode == 'xhtml') { 48 46 this.draw(mode); 49 } else {47 } else if (mode == 'wiki') { 50 48 if (this.wwg_mode) { 51 49 this.syncContents('iframe'); … … 54 52 this.textarea.style.display = ''; 55 53 this.drawToolBar(mode); 54 } else { 55 this.removeEditor(); 56 this.textarea.style.display = ''; 57 while (this.toolbar.hasChildNodes()) { 58 this.toolbar.removeChild(this.toolbar.firstChild) 59 } 56 60 } 57 61 };
Note: See TracChangeset
for help on using the changeset viewer.