Project

General

Profile

Bug #20085 ยป rtehtmlarea_bugfix_10531_trunk.patch

Administrator Admin, 2009-02-23 19:23

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/StatusBar/status-bar.js (copie de travail)
*/
clear : function() {
// Unhook events handlers
if (this.statusBarTree.hasChildNodes()) {
for (var element = this.statusBarTree.firstChild; element; element = element.nextSibling) {
if (element.nodeName.toLowerCase() == "a") {
HTMLArea._removeEvents(element, ["click", "contextmenu", "mousedown"], this.statusBarHandlerFunctRef);
element.ancestor = null;
element.editor = null;
if (this.statusBarTree) {
if (this.statusBarTree.hasChildNodes()) {
for (var element = this.statusBarTree.firstChild; element; element = element.nextSibling) {
if (element.nodeName.toLowerCase() == "a") {
HTMLArea._removeEvents(element, ["click", "contextmenu", "mousedown"], this.statusBarHandlerFunctRef);
element.ancestor = null;
element.editor = null;
}
}
}
this.statusBarTree.innerHTML = "";
}
this.setSelection(null);
this.statusBarTree.innerHTML = "";
},
/*
    (1-1/1)