Bug #18207 ยป rtehtmlarea_bugfix_7525.patch
typo3/sysext/rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js (working copy) | ||
---|---|---|
this.dialogRowCellProperties(true);
|
||
break;
|
||
case "TO-toggle-borders":
|
||
this.toogleBorders();
|
||
this.toggleBorders();
|
||
break;
|
||
default:
|
||
alert("Button [" + buttonId + "] not yet implemented");
|
||
... | ... | |
}
|
||
editor.focusEditor();
|
||
editor.insertNodeAtSelection(table);
|
||
if (this.buttonsConfiguration.toggleborders && this.buttonsConfiguration.toggleborders.setOnTableCreation) {
|
||
this.toggleBorders();
|
||
}
|
||
return true;
|
||
},
|
||
|
||
toogleBorders : function () {
|
||
toggleBorders : function () {
|
||
var tables = this.editor._doc.getElementsByTagName("table");
|
||
if (tables.length != 0) {
|
||
this.editor.borders = true;
|