pull/2525/head
Nosolored 7 years ago
parent 09a6fab718
commit 4cd1339b30
  1. 6
      plugin/customcertificate/resources/js/certificate.js

@ -9,8 +9,8 @@ function dateCertificateSwitchRadioButton1(){
} }
function dateCertificateSwitchRadioButton0(){ function dateCertificateSwitchRadioButton0(){
$("#date_start").prop("disabled", true).val(''); $("#date_start").prop("disabled", true).val("");
$("#date_end").prop("disabled", true).val(''); $("#date_end").prop("disabled", true).val("");
} }
function typeDateExpedictionSwitchRadioButton(){ function typeDateExpedictionSwitchRadioButton(){
@ -25,7 +25,7 @@ function typeDateExpedictionSwitchRadioButton(){
function contentsTypeSwitchRadioButton(){ function contentsTypeSwitchRadioButton(){
$("[name=\"contents_type\"]").each(function( index ) { $("[name=\"contents_type\"]").each(function( index ) {
if ( $(this).is(':checked') && $(this).val() === "2") { if ( $(this).is(":checked") && $(this).val() === "2") {
$("#contents").prop("disabled", false); $("#contents").prop("disabled", false);
} else { } else {
$("#contents").prop("disabled", true); $("#contents").prop("disabled", true);

Loading…
Cancel
Save