Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
9667739d
Commit
9667739d
authored
Mar 28, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext/jio: allow replicatestorage to fail on erp5storage
parent
f16ff9a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ext/libs/jio/replicatestorage.js
ext/libs/jio/replicatestorage.js
+4
-2
No files found.
ext/libs/jio/replicatestorage.js
View file @
9667739d
...
...
@@ -369,9 +369,11 @@
switch
(
true
)
{
// NOTE: this means if the master is 503, nothing will be saved on
// the slave? Is this what I would want? YES
// NOTE: leaving this will allow test pages to be saved, but
// will break at another place where 500 should not pass
case
response
.
status
>=
500
:
command
.
error
(
response
);
break
;
//
command.error(response);
//
break;
// HACK: why does 204 return status code 0 on promises?
case
response
.
status
===
0
:
default
:
...
...
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