Commit 637d8fe1 authored by Romain Courteaud's avatar Romain Courteaud

erp5_officejs: do not submit if render is not finished

parent a6d073d7
Pipeline #25633 failed with stage
in 0 seconds
/*global document, window, rJS, RSVP, jIO, console */
/*global document, window, rJS, jIO, console */
/*jslint nomen: true, indent: 2, maxerr: 10, maxlen: 80 */
(function (document, window, rJS, RSVP, jIO, console) {
(function (document, window, rJS, jIO, console) {
"use strict";
rJS(window)
......@@ -115,7 +115,7 @@
}
throw error;
});
})
}, {mutex: 'render'})
.onStateChange(function () {
var fragment = document.createElement('div'),
......@@ -180,6 +180,6 @@
.push(function (view_gadget) {
return view_gadget.triggerSubmit(argument_list);
});
});
}, {mutex: 'render'});
}(document, window, rJS, RSVP, jIO, console));
\ No newline at end of file
}(document, window, rJS, jIO, console));
\ No newline at end of file
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1001.7199.47519.37307</string> </value>
<value> <string>1005.27465.17947.58470</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1658943004.35</float>
<float>1672681616.58</float>
<string>UTC</string>
</tuple>
</state>
......
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