For Bug 37192
This commit is contained in:
parent
878e546757
commit
386d7739f1
|
@ -320,6 +320,13 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onApiChangeFont: function(font) {
|
onApiChangeFont: function(font) {
|
||||||
|
var me = this;
|
||||||
|
setTimeout(function () {
|
||||||
|
me.onApiChangeFontInternal(font);
|
||||||
|
}, 100);
|
||||||
|
},
|
||||||
|
|
||||||
|
onApiChangeFontInternal: function(font) {
|
||||||
if (this.inFormControl) return;
|
if (this.inFormControl) return;
|
||||||
|
|
||||||
var name = (_.isFunction(font.get_Name) ? font.get_Name() : font.asc_getName());
|
var name = (_.isFunction(font.get_Name) ? font.get_Name() : font.asc_getName());
|
||||||
|
|
Loading…
Reference in a new issue