Commit 7c4f1757 authored by Romain Courteaud's avatar Romain Courteaud

fixup [erp5_core] Make jsl happy

parent 7610fcb1
......@@ -78,20 +78,21 @@
.onLoop(function () {
var data_textarea = this.element.querySelector('textarea'),
gadget = this,
state_dict = {};
state_dict = {},
queue = new RSVP.Queue();
if (gadget.state.paused) {
return;
return queue;
}
if (!gadget.state.continue_loop) {
if (gadget.state.last_call) {
// Stop reading test output
return;
return queue;
}
state_dict.last_call = true;
}
return new RSVP.Queue()
return queue
.push(function () {
return jIO.util.ajax({
type: "GET",
......
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