For Bug 37192

This commit is contained in:
Julia Radzhabova 2018-03-15 17:14:09 +03:00
parent 878e546757
commit 386d7739f1

View file

@ -320,6 +320,13 @@ define([
},
onApiChangeFont: function(font) {
var me = this;
setTimeout(function () {
me.onApiChangeFontInternal(font);
}, 100);
},
onApiChangeFontInternal: function(font) {
if (this.inFormControl) return;
var name = (_.isFunction(font.get_Name) ? font.get_Name() : font.asc_getName());