Commit a2960460 authored by Chenu Denis's avatar Chenu Denis
Browse files

[fix] Unload event for chrome navigator too

parent 39a2c4dd
/**
* @file questionExtraSurvey javascript system
* @author Denis Chenu
* @version 1.1.2
* @version 5.3.1
* @copyright Denis Chenu <http://www.sondages.pro>
* @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
*/
......@@ -75,7 +75,14 @@ $(document).on("hide.bs.modal",'#modal-questionExtraSurvey',function(e) {
} else {
updateLists();
}
$("#modal-questionExtraSurvey iframe").html("").attr("src", "");
});
/* Unload iframe */
$(document).on("hide.bs.modal",'#modal-questionExtraSurvey',function(e) {
$("#modal-questionExtraSurvey iframe").trigger("unload");
});
$(document).on("hidden.bs.modal",'#modal-questionExtraSurvey',function(e) {
$("#modal-questionExtraSurvey iframe").html("").attr("src", "");
});
function checkIsEmpty(element, srid) {
......
......@@ -7,7 +7,7 @@
<lastUpdate>2022-06-10</lastUpdate>
<author>Denis Chenu</author>
<authorUrl>https://sondages.pro</authorUrl>
<version>5.3.0</version>
<version>5.3.1</version>
<license>AGPL</license>
<description><![CDATA[Add survey inside survey : use reloadAnyResponse plugin.]]></description>
</metadata>
......
Supports Markdown
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