Bug #25108 » rtehtmlarea_bugfix_17676_trunk.patch
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);
|
||
|
||
},
|
||
/*
|
||
* This function gets called when some font style or font size was selected from the dropdown lists
|