1jQuery.noConflict(); 2// Auskommentiert weil Kunde das nicht wollten wie im DRKCMS Standard 3//$(document).ready( 4// function ($) { 5// 'use strict'; 6// var form = $('#HNRForm'); 7// 8// var formtextFields = form.find('input.o-form__field--text'); 9// formtextFields.change(function () { 10// toggleTextFieldLabel(this); 11// }); 12// $.each(formtextFields, function (i, field) { 13// toggleTextFieldLabel(field); 14// }); 15// }); 16var today = new Date(); 17var newdate = new Date(); 18newdate.setDate(today.getDate()+2); 19jQuery.datetimepicker.setLocale('de'); 20jQuery('#date').datetimepicker({ 21 format:'d.m.Y', 22 formatDate:'d.m.Y', 23 timepicker:false, 24 dayOfWeekStart: 1, 25 startDate: newdate, 26 //disabledWeekDays: [6,0], 27}); 28 29jQuery('#time').datetimepicker({ 30 datepicker:false, 31 format:'H:i', 32 formatTime:'H:i', 33 allowTimes:[ 34 '08:00', 35 '08:30', 36 '09:00', 37 '09:30', 38 '10:00', 39 '10:30', 40 '11:00', 41 '11:30', 42 '12:00', 43 '12:30', 44 '13:00', 45 '13:30', 46 '14:00', 47 '14:30', 48 '15:00', 49 '15:30', 50 '16:00', 51 '16:30', 52 '17:00', 53 '17:30', 54 '18:00', 55 '18:30', 56 '19:00' 57 ], 58}); 59 60var other = document.getElementById("other"); 61$('#other').click(function (e) { 62 if (other.hasAttribute("checked")) { 63 $(".js-toogle-optional").addClass("h-hide"); 64 $("#other").removeAttr( 'checked' ); 65 $("#p_vornamesecond").removeAttr( 'required','0'); 66 $("#p_namesecond").removeAttr( 'required','0'); 67 $("#p_strassesecond").removeAttr( 'required','0'); 68 $("#p_plzsecond").removeAttr( 'required','0'); 69 $("#p_ortsecond").removeAttr( 'required','0'); 70 } else { 71 $(".js-toogle-optional").removeClass("h-hide"); 72 $("#myself").removeAttr('checked'); 73 $("#other").attr('checked', '1'); 74 $("#p_vornamesecond").attr('required', '1'); 75 $("#p_namesecond").attr('required', '1'); 76 $("#p_strassesecond").attr('required', '1'); 77 $("#p_plzsecond").attr('required', '1'); 78 $("#p_ortsecond").attr('required', '1'); 79 } 80}) 81 82$('#myself').click(function (e) { 83 $(".js-toogle-optional").addClass("h-hide"); 84 $("#other").removeAttr( 'checked' ); 85 $("#p_vornamesecond").removeAttr( 'required','0'); 86 $("#p_namesecond").removeAttr( 'required','0'); 87 $("#p_strassesecond").removeAttr( 'required','0'); 88 $("#p_plzsecond").removeAttr( 'required','0'); 89 $("#p_ortsecond").removeAttr( 'required','0'); 90})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.