Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
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
Hamza
jio
Commits
60efbdbf
Commit
60efbdbf
authored
Sep 09, 2019
by
Hamza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
65dff3cd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
330 additions
and
292 deletions
+330
-292
dist/jio-latest.js
dist/jio-latest.js
+156
-139
dist/jio-v3.39.0.js
dist/jio-v3.39.0.js
+156
-139
src/jio.storage/cloudooostorage.js
src/jio.storage/cloudooostorage.js
+18
-14
No files found.
dist/jio-latest.js
View file @
60efbdbf
This diff is collapsed.
Click to expand it.
dist/jio-v3.39.0.js
View file @
60efbdbf
This diff is collapsed.
Click to expand it.
src/jio.storage/cloudooostorage.js
View file @
60efbdbf
...
...
@@ -47,19 +47,21 @@
string_list
[
2
].
textContent
=
to
;
//
if
(
conversion_kw
)
{
for
(
key
in
conversion_kw
)
{
element_value
=
parser
.
parseFromString
(
'
<
'
+
conversion_kw
[
key
][
1
]
+
'
></
'
+
conversion_kw
[
key
][
1
]
+
'
>
'
,
'
text/xml
'
).
firstChild
;
member
=
parser
.
parseFromString
(
'
<member><name></name><value></value></member>
'
,
'
text/xml
'
).
firstChild
;
element_value
.
textContent
=
conversion_kw
[
key
][
0
];
member
.
getElementsByTagName
(
'
name
'
)[
0
].
textContent
=
key
;
member
.
getElementsByTagName
(
'
value
'
)[
0
].
appendChild
(
element_value
);
struct
[
0
].
appendChild
(
member
);
for
(
key
in
conversion_kw
)
{
if
(
conversion_kw
.
hasOwnProperty
(
key
))
{
element_value
=
parser
.
parseFromString
(
'
<
'
+
conversion_kw
[
key
][
1
]
+
'
></
'
+
conversion_kw
[
key
][
1
]
+
'
>
'
,
'
text/xml
'
).
firstChild
;
member
=
parser
.
parseFromString
(
'
<member><name></name><value></value></member>
'
,
'
text/xml
'
).
firstChild
;
element_value
.
textContent
=
conversion_kw
[
key
][
0
];
member
.
getElementsByTagName
(
'
name
'
)[
0
].
textContent
=
key
;
member
.
getElementsByTagName
(
'
value
'
)[
0
].
appendChild
(
element_value
);
struct
[
0
].
appendChild
(
member
);
}
}
}
//
...
...
@@ -128,7 +130,9 @@
CloudoooStorage
.
prototype
.
getAttachment
=
function
()
{
return
this
.
_sub_storage
.
getAttachment
.
apply
(
this
.
_sub_storage
,
arguments
);
};
CloudoooStorage
.
prototype
.
putAttachment
=
function
(
id
,
name
,
blob
,
conversion_kw
)
{
CloudoooStorage
.
prototype
.
putAttachment
=
function
(
id
,
name
,
blob
,
conversion_kw
)
{
var
storage
=
this
;
return
storage
.
get
(
id
)
.
push
(
function
(
doc
)
{
...
...
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