Commit 60c948da authored by Romain Courteaud's avatar Romain Courteaud

erp5_xhtml_style/web_renderjs_ui: renderJS 0.23.1

parent 64d61235
......@@ -826,7 +826,14 @@ if (typeof document.contains !== 'function') {
return reject(e);
}
callback_promise = new RSVP.Queue(result).push(undefined, reject);
callback_promise = new RSVP.Queue(result)
.push(undefined, function handleEventCallbackError(error) {
// Prevent rejecting the loop, if the result cancelled itself
if (!(error instanceof RSVP.CancellationError)) {
canceller();
reject(error);
}
});
};
target.addEventListener(type, handle_event_callback, useCapture);
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>982.6529.44506.21401</string> </value>
<value> <string>982.39920.30457.43434</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1582798736.54</float>
<float>1584544790.23</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -826,7 +826,14 @@ if (typeof document.contains !== 'function') {
return reject(e);
}
callback_promise = new RSVP.Queue(result).push(undefined, reject);
callback_promise = new RSVP.Queue(result)
.push(undefined, function handleEventCallbackError(error) {
// Prevent rejecting the loop, if the result cancelled itself
if (!(error instanceof RSVP.CancellationError)) {
canceller();
reject(error);
}
});
};
target.addEventListener(type, handle_event_callback, useCapture);
......
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