Commit 58e96f76 authored by Boris Kocherov's avatar Boris Kocherov

[erp5_only_office] support loading Editor.xlsx over jio_getAttachment

parent 13d5cf53
......@@ -1064,7 +1064,14 @@ var editor;
}).then(resolve, reject);
};
if (opt_url) {
AscCommon.getJSZipUtils().getBinaryContent(opt_url, processData);
Common.Gateway.jio_getAttachment('/', 'Editor.xlsx')
.push(undefined, function (err) {
resolve();
})
.push(function (data) {
processData(undefined, data);
});
// AscCommon.getJSZipUtils().getBinaryContent(opt_url, processData);
} else {
processData(undefined, undefined, opt_path);
}
......
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