Bug 33528: (follow-up) Correct selector for event handler
The event handler for restriction deletion needs to be adjusted according to the new container ID. Without this change the JavaScript confirmation message didn't appear and restrictions were deleted without confirmation. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
263196d194
commit
78431a983d
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
// Debarments
|
||||
$("div#reldebarments .remove_restriction").on("click",function(){
|
||||
$("#reldebarments_panel .remove_restriction").on("click",function(){
|
||||
return confirm( __("Remove restriction?") );
|
||||
});
|
||||
var mrform = $("#manual_restriction_form");
|
||||
|
|
Loading…
Reference in a new issue