Commit 0629b396 authored by Boris Kocherov's avatar Boris Kocherov

gadget: support get Editor.xlsx from jio

parent b4196484
...@@ -1064,7 +1064,14 @@ var editor; ...@@ -1064,7 +1064,14 @@ var editor;
}).then(resolve, reject); }).then(resolve, reject);
}; };
if (opt_url) { 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 { } else {
processData(undefined, undefined, opt_path); 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