N°5079 - Fix misleading "leave confirmation" alert after closing some custom forms in portal

This commit is contained in:
Timothee
2024-09-20 11:31:42 +02:00
parent 172fda2157
commit a88b4ad06b

View File

@@ -67,8 +67,8 @@ $(function()
// revert other modifications here
_destroy: function()
{
this.element
.removeClass('portal_form_handler');
this._unregisterBlockers();
this.element.removeClass('portal_form_handler');
},
// _setOptions is called with a hash of all options that are changing
// always refresh when changing options