Project

General

Profile

Bug #19387 » rtehtmlarea_bugfix_9444_trunk.patch

Administrator Admin, 2008-10-02 16:33

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockStyle/block-style.js (copie de travail)
if (HTMLArea.is_gecko && !HTMLArea.is_safari && !HTMLArea.is_opera) {
var selection = this.editor._getSelection();
try {
while (range = selection.getRangeAt(i++)) {
while ((range = selection.getRangeAt(i++))) {
block = this.editor.getParentElement(selection, range);
blocks.push(block);
blocks.push(this.editor._statusBarTree.selected ? this.editor._statusBarTree.selected : block);
}
} catch(e) {
/* finished walking through selection */
(2-2/3)