Project

General

Profile

Bug #25108 » rtehtmlarea_bugfix_17676_typo3_4-5.patch

Administrator Admin, 2011-02-20 03:40

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js (copie de travail)
}
return true;
}, this);
// Load the language dropdown
select.getStore().load({
callback: function () { this.getButton('Language').setValue('none'); },
scope: this
});
// Monitor the combo's store being loaded
select.mon(select.getStore(), 'load', function () { this.updateValue(select); }, this);
}
},
/*
typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectFont/select-font.js (copie de travail)
* This funcion is invoked by the editor when it is being generated
*/
onGenerate: function () {
// Load the dropdowns
// Monitor the dropdowns stores being loaded
Ext.each(this.dropDownList, function (dropDown) {
if (this.getButton(dropDown[0])) {
this.getButton(dropDown[0]).getStore().load({
callback: function () { this.getButton(dropDown[0]).setValue('none'); },
scope: this
})
var select = this.getButton(dropDown[0]);
if (select) {
select.mon(select.getStore(), 'load', function () { select.setValue('none'); });
}
}, this);
},
(2-2/3)