1function getValue(selector, inputId) { 2 if ($(selector).prop('tagName') == 'SELECT') { 3 return $(selector).val(); 4 } else { 5 if ($('#' + inputId).attr('type') == 'checkbox') { 6 return $(selector).is(':checked') ? 1 : 0; 7 } else if (typeof $('#' + inputId).attr('type') === 'undefined') { 8 var value_check = $(selector).filter(':checked').val(); 9 if (value_check) { 10 return $(selector).filter(':checked').val(); 11 } 12 return 0; 13 } else { 14 return $(selector).val(); 15 } 16 17 } 18} 19 20$('body').on('hidden.bs.modal', '#kvFileinputModal', function(e){ 21 var hasmodal = $('body .modal').hasClass('in'); 22 if(hasmodal){ 23 $('body').addClass('modal-open'); 24 } 25}); 26 27$('body').on('show.bs.modal', '#kvFileinputModal', function (e) { 28 $(this).find('embed, .office').css('width', '100%'); 29 $(this).find('embed, .office').css('height', '100%'); 30});
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.