Commit 978e70c8 authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete event asc_onInitTablePictures

parent d97ddef2
...@@ -1409,18 +1409,14 @@ var editor; ...@@ -1409,18 +1409,14 @@ var editor;
return (c_oAscLockTypeElem.Object === lockElem.Element["type"] && lockElem.Element["rangeOrObjectId"] === AscCommonExcel.c_oAscLockNameFrozenPane); return (c_oAscLockTypeElem.Object === lockElem.Element["type"] && lockElem.Element["rangeOrObjectId"] === AscCommonExcel.c_oAscLockNameFrozenPane);
}; };
spreadsheet_api.prototype._sendWorkbookStyles = function() { spreadsheet_api.prototype._sendWorkbookStyles = function () {
if (this.wbModel) { if (this.wbModel) {
if (!window['IS_NATIVE_EDITOR']) { if (!window['IS_NATIVE_EDITOR'] && window["NATIVE_EDITOR_ENJINE"]) {
// Для нативной версии не генерируем стили // Для нативной версии (сборка) не генерируем стили
if (window["NATIVE_EDITOR_ENJINE"] && (!this.handlers.hasTrigger("asc_onInitTablePictures") || !this.handlers.hasTrigger("asc_onInitEditorStyles"))) {
return; return;
} }
}
// Отправка стилей форматированных таблиц
this.handlers.trigger("asc_onInitTablePictures", this.wb.getTablePictures());
// Отправка стилей ячеек // Отправка стилей ячеек
this.handlers.trigger("asc_onInitEditorStyles", this.wb.getCellStyles()); this.handlers.trigger("asc_onInitEditorStyles", this.wb.getCellStyles());
} }
......
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