[DE] refactoring. toolbar's component rendering
This commit is contained in:
parent
e0f3a707de
commit
81986eb1bc
|
@ -1270,7 +1270,7 @@ define([
|
||||||
rendererComponents: function (html) {
|
rendererComponents: function (html) {
|
||||||
var $host = $(html);
|
var $host = $(html);
|
||||||
var _injectComponent = function (id, cmp) {
|
var _injectComponent = function (id, cmp) {
|
||||||
Common.Utils.injectComponent($host.find(id), cmp);
|
Common.Utils.injectComponent($host.findById(id), cmp);
|
||||||
};
|
};
|
||||||
|
|
||||||
_injectComponent('#slot-field-fontname', this.cmbFontName);
|
_injectComponent('#slot-field-fontname', this.cmbFontName);
|
||||||
|
|
Loading…
Reference in a new issue