File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585 @endif
8686 @if ($u -> currentLevel () > 1 )
8787 <div class =" form-row" >
88- <div class =" form-check" style = " display : none ; " >
89- <label ><input type =" checkbox" id =" add_in_user_notification_text" name =" add_in_user_notification_text" value =" yes" disabled > {{ trans (' panichd::lang.show-ticket-add-com-check-email-text' ) } } </label >
88+ <div class =" form-check" >
89+ <label ><input type =" checkbox" id =" add_in_user_notification_text" name =" add_in_user_notification_text" value =" yes" > {{ trans (' panichd::lang.show-ticket-add-com-check-email-text' ) } } </label >
9090 </div >
9191 </div >
9292
Original file line number Diff line number Diff line change 5959
6060 <textarea style =" display : none " rows =" 5" class =" form-control jquery_level2_enable input_comment_text" name =" comment_x" cols =" 50" disabled =" disabled" ></textarea >
6161 <div class =" jquery_error_text" ></div >
62- <label class =" mt-2" style = " display : none " ><input type =" checkbox" class =" input_comment_notification_text" name =" comment_x_notification_text" value =" yes" disabled > {{ trans (' panichd::lang.show-ticket-add-com-check-email-text' ) } } </label >
62+ <label class =" mt-2" ><input type =" checkbox" class =" input_comment_notification_text" name =" comment_x_notification_text" value =" yes" > {{ trans (' panichd::lang.show-ticket-add-com-check-email-text' ) } } </label >
6363 </div >
6464</div >
Original file line number Diff line number Diff line change 1414
1515 _cloned .find (' .input_comment_text' ).prop (' disabled' , false ).attr (' name' , ' comment_' + _num);
1616
17- _cloned .find (' .input_comment_notification_text' ).prop ( ' disabled ' , false ). attr (' name' , ' comment_' + _num + ' _notification_text' );
17+ _cloned .find (' .input_comment_notification_text' ).attr (' name' , ' comment_' + _num + ' _notification_text' );
1818 if ($ (' input[name=hidden]:checked' ).val () == ' true' ){
1919 _cloned .find (' .switch_response_type' ).hide ();
2020 }
3535 $ (this ).find (' .text' ).text ($ (this ).data (' comment-text' ));
3636 _block .find (' .note_title' ).hide ();
3737 _block .find (' .comment_title' ).show ();
38- _block .find (' .input_comment_notification_text' ).closest (' label' ).show ();
39-
4038 _block .find (' .note_recipients' ).prop (' disabled' , true ).select2 (' destroy' ).hide ();
4139 _block .find (' .reply_recipients' ).prop (' disabled' , false ).show ().select2 ();
4240 }else {
4644 $ (this ).find (' .text' ).text ($ (this ).data (' note-text' ));
4745 _block .find (' .note_title' ).show ();
4846 _block .find (' .comment_title' ).hide ();
49- _block .find (' .input_comment_notification_text' ).closest (' label' ).hide ();
50-
5147 _block .find (' .reply_recipients' ).prop (' disabled' , true ).select2 (' destroy' ).hide ();
5248 _block .find (' .note_recipients' ).prop (' disabled' , false ).show ().select2 ();
5349 }
Original file line number Diff line number Diff line change 3434 $ (this ).closest (' .comment-modal' ).find (' #note_recipients' ).select2 (' destroy' );
3535 $ (this ).closest (' .comment-modal' ).find (' #reply_recipients' ).select2 ();
3636
37- $ (' #add_in_user_notification_text, #add_to_intervention' ).prop (' disabled' , false );
38- $ (' #add_in_user_notification_text, #add_to_intervention' ).closest (' div' ).show ();
37+ $ (' #add_to_intervention' ).prop (' disabled' , false ).closest (' div' ).show ();
3938 }else {
4039 $ (this ).closest (' .comment-modal' ).find (' #reply_recipients' ).select2 (' destroy' );
4140 $ (this ).closest (' .comment-modal' ).find (' #note_recipients' ).select2 ();
4241
43- $ (' #add_in_user_notification_text, #add_to_intervention' ).prop (' disabled' , true );
44- $ (' #add_in_user_notification_text, #add_to_intervention' ).closest (' div' ).hide ();
42+ $ (' #add_to_intervention' ).prop (' disabled' , true ).closest (' div' ).hide ();
4543 }
4644
4745 var alt = type == ' note' ? ' reply' : ' note' ;
You can’t perform that action at this time.
0 commit comments