Commit 1b49b35f authored by Romain Courteaud's avatar Romain Courteaud

erp5_core/erp5_web_renderjs_ui: jio 3.43.0

parent 01c8cca6
......@@ -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);
......
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>986.19538.8051.64733</string> </value>
<value> <string>991.25772.62050.38894</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1598877544.48</float>
<float>1620383045.9</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -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);
......
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