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