Commit f603794b authored by SergeyLuzyanin's avatar SergeyLuzyanin

load font before set bullet

parent 53c85d1e
......@@ -2666,6 +2666,17 @@ var editor;
};
spreadsheet_api.prototype.asc_setListType = function (type, subtype) {
var t = this;
if(type === 0){
var t = this, fonts = {};
fonts["Wingdings"] = 1;
t._loadFonts(fonts, function() {t.asc_setListType2(type, subtype);});
}
else{
t.asc_setListType2(type, subtype);
}
};
spreadsheet_api.prototype.asc_setListType2 = function (type, subtype) {
var oWorksheet = this.wb.getWorksheet();
if(oWorksheet){
if(oWorksheet.isSelectOnShape){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment