Re: Re: Re: Re: Re: Re: Re: Re: 1.5.3のバグ?
チェックボックスをグレーにする件
以下の変更でうまく動くと思います。
「form_setup_html.php 」
202行目
<br /><input id="mcheck2" name="mcheck2" type="checkbox" value="1" <?php echo (intval($miniSurveyInfo['notifyMeOnSubmission'])==0)?'disabled':''?> />
329行目
<br /><input id="mcheck2Edit" name="mcheck2Edit" type="checkbox" value="" <?php echo (intval($miniSurveyInfo['notifyMeOnSubmission'])==0)?'disabled':''?> />
「auto.js」
382行目あたり
showRecipient:function(cb){}
を
showRecipient:function(cb){
if(cb.checked)
{
$('#recipientEmailWrap').css('display','block');
$('#mcheck2').removeAttr('disabled');
$('#mcheck2Edit').removeAttr('disabled');
}
else
{
$('#recipientEmailWrap').css('display','none');
$('#mcheck2').attr('disabled','true');
$('#mcheck2Edit').attr('disabled','true');
}
}
tomoac
Re: Re: Re: Re: Re: Re: Re: Re: Re: 1.5.3のバグ?
早速組み込んで、Version 1.5.6 をリリースしました。
http://concrete5.tomo.ac/index.php?cID=81
メールフィールドでチェックした後、設定で解除した時、グレースケールになるもののチェックが入ったままとういのがちょっと気になるかも。