Bug 34478: Correct op value for SMS provider deletion

The op value is set in the JavaScript, where it hasn't been updated to
match the "cud-delete" value checked in the script.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2024-02-16 16:51:31 +00:00 committed by Jonathan Druart
parent cb1f73b1bc
commit 75fda75868
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ function delete_provider( id, users ) {
}
if ( c ) {
$("#op").val('delete');
$("#op").val('cud-delete');
$("#id").val( id );
$("#sms_form").submit();
}