1"use strict"; 2$(document).ready(function() { 3 4 if ($('.select2').length > 0) { 5 $('.select2').select2({ 6 width: '100%', 7 }); 8 } 9 10 $('.select2').addClass('form-control'); 11 $('.select2-selection').css('border','0'); 12 $('.select2-selection__arrow').css('top','10px'); 13 $('.select2-selection__rendered').css('color','#8898aa'); 14 15 //pages links 16 $(".showAsLink").on('change', function() { 17 var value; 18 if ($(this).is(':checked')) { value = 1 } else { value = 0 } 19 20 $.ajaxSetup({ 21 headers: { 22 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 23 } 24 }); 25 26 $.ajax({ 27 type:'POST', 28 url: '/change/'+$(this).attr("pageid"), 29 dataType: 'json', 30 data: { value: value}, 31 success:function(response){ 32 if(response.status){ 33 $(this).attr("checked"); 34 } 35 }, error: function (response) { 36 } 37 }) 38 }); 39 40 $('#btn-submit-time-prepare').hide() 41 42 //modal time to prepare buttons 43 $(".btn-time-to-prepare").on("click",function(){ 44 $(".btn-time-to-prepare").removeClass("active"); 45 $(this).addClass("active"); 46 47 $("#time_to_prepare").val(parseInt($(this).attr('value'))); 48 49 $('#btn-submit-time-prepare').show() 50 }); 51});
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.