Commit 068b4cad authored by Boris Kocherov's avatar Boris Kocherov Committed by Romain Courteaud

[erp5_only_office] support loading Editor.xlsx over jio_getAttachment

parent cef0b3d6
......@@ -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