From 89b031d64d7ac7a41b269e8d5c85c11fcd8dbd29 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 12 Apr 2023 06:30:52 -0700 Subject: [PATCH] Removed iCheck code from merge users script Signed-off-by: snipe --- resources/views/users/confirm-merge.blade.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/resources/views/users/confirm-merge.blade.php b/resources/views/users/confirm-merge.blade.php index 43b38061fe..ce033acaed 100644 --- a/resources/views/users/confirm-merge.blade.php +++ b/resources/views/users/confirm-merge.blade.php @@ -110,7 +110,7 @@ @foreach ($users as $user) @@ -132,10 +132,16 @@ $('button[type="submit"]').prop("disabled", true); - $('input').on('ifChecked', function(event) { - $(' button[type="submit"]').prop("disabled", false); + $("input[type='radio']").click(function () { + if($(this).is(':enabled')) { + $("button[type='submit']").prop("disabled", false); + $("button[type='submit']").removeAttr("disabled"); + } }); + + + @endif