Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
ba0ec916
Commit
ba0ec916
authored
Dec 09, 2016
by
Sergey Luzyanin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://github.com/ONLYOFFICE/sdkjs
into develop
parents
0c0e1cf4
d1ad8cb6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
cell/native/native.js
cell/native/native.js
+19
-0
No files found.
cell/native/native.js
View file @
ba0ec916
...
...
@@ -7629,3 +7629,22 @@ window["Asc"]["spreadsheet_api"].prototype.openDocument = function(sData) {
},
5
);
};
window
[
"
AscCommon
"
].
getFullImageSrc2
=
function
(
src
)
{
var
start
=
src
.
slice
(
0
,
6
);
if
(
0
===
start
.
indexOf
(
'
theme
'
)
&&
editor
.
ThemeLoader
){
return
editor
.
ThemeLoader
.
ThemesUrlAbs
+
src
;
}
if
(
0
!==
start
.
indexOf
(
'
http:
'
)
&&
0
!==
start
.
indexOf
(
'
data:
'
)
&&
0
!==
start
.
indexOf
(
'
https:
'
)
&&
0
!==
start
.
indexOf
(
'
file:
'
)
&&
0
!==
start
.
indexOf
(
'
ftp:
'
)){
var
srcFull
=
AscCommon
.
g_oDocumentUrls
.
getImageUrl
(
src
);
if
(
srcFull
){
window
[
"
native
"
][
"
loadUrlImage
"
](
srcFull
,
src
);
return
srcFull
;
}
}
return
src
;
}
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