Add event for deny button on triggerJobsAfterAjaxCall
This commit is contained in:
parent
cb221b2071
commit
65eef142b6
|
|
@ -1844,5 +1844,11 @@ var tarteaucitron = {
|
||||||
tarteaucitron.userInterface.respond(this, true);
|
tarteaucitron.userInterface.respond(this, true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
var denyBtns = document.getElementsByClassName("tarteaucitronDeny");
|
||||||
|
for (i = 0; i < denyBtns.length; i++) {
|
||||||
|
tarteaucitron.addClickEventToElement(denyBtns[i], function () {
|
||||||
|
tarteaucitron.userInterface.respond(this, false);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue