1$( document ).ready(function() { 2 //console.log("powermail_stuff.js"); 3 //jQuery('#powermail_field_selectedicons').attr('readonly','readonly'); 4 //ad delete file button 5 jQuery('.powermail_fieldset_33 input[type="file"]').each(function(){ 6 jQuery(this).after('<input type="button" value="X" class="deletefile" />'); 7 }); 8 jQuery("input.deletefile").click(function() { 9 jQuery(this).prev('input').val(''); 10 }); 11 jQuery('.powermail_fieldset_33 input[type="file"]').on('change',function(){ 12 if (jQuery(this).val() != "") { 13 jQuery(this).next('.deletefile').show(); 14 } else{ 15 jQuery(this).next('.deletefile').hide(); 16 } 17 }); 18 if(jQuery('#powermail_field_dsgvo_1.powermail_checkbox_187').length > 0){ 19 jQuery('#powermail_field_dsgvo_1.powermail_checkbox_187').attr('data-parsley-required-message','Dieses Feld muss ausgefüllt werden!'); 20 } 21 22 //hash 23 if(jQuery('#powermail_field_titel-hochschullehrgang').length > 0) { 24 var hochschullehrganges = window.location.hash.substr(1); 25 var hochschullehrganges_array = hochschullehrganges.split('-'); 26 if(hochschullehrganges_array[0] == 'hochschullehrgang'){ 27 var hochschullehrganges_id = parseInt(hochschullehrganges_array[1]-1); 28 jQuery("#powermail_field_titel-hochschullehrgang option:eq(" + hochschullehrganges_id + ")").attr('selected', 'selected'); 29 } 30 } 31 32}); 33
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.