mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°7122 - Fix wrongfully merged JS inclusion in b08b5297
This commit is contained in:
@@ -543,7 +543,12 @@
|
||||
});
|
||||
|
||||
// Initialize confirmation message handler when a form with touched fields is closed
|
||||
oBodyElem.portal_leave_handler({'message': '{{ 'Portal:Form:Close:Warning'|dict_s }}'});
|
||||
oBodyElem.leave_handler({
|
||||
'message': '{{ 'Portal:Form:Close:Warning'|dict_s }}',
|
||||
'extra_events': {
|
||||
'body': ['hide.bs.modal']
|
||||
}
|
||||
});
|
||||
{% endblock %}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user