diff --git a/public/userarea/importify/importifydashboard.php b/public/userarea/importify/importifydashboard.php index 9ce2d6f..e7d0d2e 100644 --- a/public/userarea/importify/importifydashboard.php +++ b/public/userarea/importify/importifydashboard.php @@ -20,8 +20,9 @@ - + + @@ -155,8 +160,6 @@ - -

@@ -168,11 +171,6 @@ - - - - - @@ -373,7 +371,9 @@ confirmButtonText: 'Confirm', allowOutsideClick: false, didOpen: () => { - $('.swal2-popup .ipt_type').bind("click", function() { + $('.swal2-popup .ipt_type').select2(); + $('.swal2-popup .ipt_type').unbind(); + $('.swal2-popup .ipt_type').bind("change", function() { if($(this).val() == 0) { $('.div_input').removeClass("hidden"); $('.ipt_val').val(""); @@ -387,7 +387,7 @@ $('.swal2-popup .ipt_type').trigger("change"); }, }).then((result) => { - let type = $('.swal2-popup .ipt_type').val(); + let type = $('.swal2-popup .change').val(); let str_name = $('.swal2-popup .ipt_name').val(); let str_kind = $('.swal2-popup .ipt_kind').val(); @@ -462,7 +462,9 @@ confirmButtonText: 'Confirm', allowOutsideClick: false, didOpen: () => { - $('.swal2-popup .ipt_type').bind("click", function() { + $('.swal2-popup .ipt_type').select2(); + $('.swal2-popup .ipt_type').unbind(); + $('.swal2-popup .ipt_type').bind("change", function() { if($(this).val() == 0) { $('.div_input').removeClass("hidden"); $('.ipt_val').val("");
File Source Lab Name Action