Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
068b4cad
Commit
068b4cad
authored
Jan 29, 2018
by
Boris Kocherov
Committed by
Romain Courteaud
Feb 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_only_office] support loading Editor.xlsx over jio_getAttachment
parent
cef0b3d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/sdkjs/cell/api.js.js
...al_skins/erp5_only_office/onlyoffice/sdkjs/cell/api.js.js
+8
-1
No files found.
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/sdkjs/cell/api.js.js
View file @
068b4cad
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment