Project

General

Profile

Bug #18246 ยป rtehtmlarea_bugfix_7584.patch

Administrator Admin, 2008-02-19 06:10

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js (working copy)
} else if (tableCell) {
var nextCell = tableCell.nextSibling ? tableCell.nextSibling : (tableCell.parentNode.nextSibling ? tableCell.parentNode.nextSibling.firstChild : null);
if (!nextCell) {
nextCell = tableCell.parentNode.parentNode.firstChild.firstChild;
if (this.editor.plugins.TableOperations) {
this.editor.plugins.TableOperations.instance.onButtonPress(this.editor, "TO-row-insert-under");
} else {
nextCell = tableCell.parentNode.parentNode.firstChild.firstChild;
}
}
if (nextCell) {
this.editor.selectNodeContents(nextCell, true);
typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js (working copy)
if (!tr) break;
var otr = tr.cloneNode(true);
clearRow(otr);
tr.parentNode.insertBefore(otr, (/under/.test(buttonId) ? tr.nextSibling : tr));
editor.forceRedraw();
editor.focusEditor();
otr = tr.parentNode.insertBefore(otr, (/under/.test(buttonId) ? tr.nextSibling : tr));
this.editor.selectNodeContents(otr.firstChild, true);
break;
case "TO-row-delete":
var tr = this.getClosest("tr");
    (1-1/1)