Commit 18784067 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web_renderjs_ui: fix beforeunload event incompatibility in firefox

parent d45504a3
......@@ -1069,9 +1069,10 @@
function (event) {
if (gadget.props.modified) {
event.returnValue = 'fake';
return 'fake';
Please register or sign in to reply
}
return 'fake';
}
},
false
);
});
}(window, rJS, RSVP, loopEventListener, document, jIO, URI, URL, Blob));
\ No newline at end of file
......@@ -232,7 +232,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>965.39308.13571.6894</string> </value>
<value> <string>966.2649.17362.11178</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -250,8 +250,8 @@
</tuple>
<state>
<tuple>
<float>1519043897.55</float>
<string>UTC</string>
<float>1520516819.75</float>
<string>GMT+1</string>
</tuple>
</state>
</object>
......
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