Commit 96bf766f authored by Romain Courteaud's avatar Romain Courteaud

Release 3.43.0

parent 48ea995c
......@@ -26,7 +26,7 @@ TESTDIR = test
EXAMPLEDIR = examples
EXTERNALDIR = external
VERSION = 3.42.1
VERSION = 3.43.0
JIOVERSION = ${DISTDIR}/jio-v${VERSION}.js
JIOLATEST = ${DISTDIR}/jio-latest.js
JIONODEVERSION = ${DISTDIR}/jio-v${VERSION}-node.js
......
......@@ -14223,6 +14223,13 @@ var jIO = window.jIO,
);
}
return evt.target.response;
}, function (error) {
if ((error.target !== undefined) &&
(error.target.status === 404)) {
throw new jIO.util.jIOError("Cannot find attachment: " + action,
404);
}
throw error;
});
}
throw new jIO.util.jIOError("ERP5: not support get attachment: " + action,
......
......@@ -13684,6 +13684,13 @@ return new Parser;
);
}
return evt.target.response;
}, function (error) {
if ((error.target !== undefined) &&
(error.target.status === 404)) {
throw new jIO.util.jIOError("Cannot find attachment: " + action,
404);
}
throw error;
});
}
throw new jIO.util.jIOError("ERP5: not support get attachment: " + action,
......@@ -15000,10 +15007,7 @@ return new Parser;
} catch (error) {
reject(error);
}
return new RSVP.Queue()
.push(function () {
return result;
})
return new RSVP.Queue(result)
.push(function (final_result) {
canceller();
resolve(final_result);
......@@ -15035,10 +15039,7 @@ return new Parser;
reject(error);
}
tx.oncomplete = function () {
return new RSVP.Queue()
.push(function () {
return result;
})
return new RSVP.Queue(result)
.push(resolve, function (error) {
canceller();
reject(error);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment