Commit 54bf1470 authored by Chenu Denis's avatar Chenu Denis
Browse files

[fix] New windows Contact form didn't work

parent 1ead5198
......@@ -5,7 +5,7 @@
* @author Denis Chenu <denis@sondages.pro>
* @copyright 2020-2021 Denis Chenu <http://www.sondages.pro>
* @license GPL v3
* @version 0.14.0-beta4
* @version 0.14.0-beta5
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by
......
......@@ -30,6 +30,9 @@ var TokenUsersListAndManage = {
$(this).data("update-users-grid",false);
});
$(document).on("click", "a[data-modal='tulam-form']", function(event) {
if(!$("#modal-tulam .modal-body").length) {
return;
}
event.preventDefault();
$(this).addClass("active");
TokenUsersListAndManage.actionForm(event,$(this));
......
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