Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
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
Hardik Juneja
jio-main
Commits
d3d10cfe
Commit
d3d10cfe
authored
Jan 02, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
splitstorage.js putAttachment no response fixed
parent
30810b33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/jio.storage/splitstorage.js
src/jio.storage/splitstorage.js
+5
-5
No files found.
src/jio.storage/splitstorage.js
View file @
d3d10cfe
...
...
@@ -368,10 +368,10 @@
var
i
,
attachment_list
=
[],
data
=
param
.
_blob
;
for
(
i
=
0
;
i
<
priv
.
storage_list
.
length
;
i
+=
1
)
{
attachment_list
[
i
]
=
jIO
.
util
.
deepClone
(
param
);
attachment_list
[
i
].
_
data
=
data
.
slice
(
(
data
.
length
/
priv
.
storage_list
.
length
)
*
i
,
(
data
.
length
/
priv
.
storage_list
.
length
)
*
(
i
+
1
)
,
"
application/octet-stream
"
attachment_list
[
i
].
_
blob
=
data
.
slice
(
data
.
size
*
i
/
priv
.
storage_list
.
length
,
data
.
size
*
(
i
+
1
)
/
priv
.
storage_list
.
length
,
data
.
type
);
}
priv
.
send
(
...
...
@@ -447,7 +447,7 @@
}
}
}
that
.
success
({
"
data
"
:
doc
});
command
.
success
({
"
data
"
:
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