1(function($) { 2 $(document).ready(function() { 3 $('.agp-color-picker').iris({ 4 defaultColor: true, 5 change: function(event, ui){}, 6 clear: function() {}, 7 hide: false, 8 palettes: true 9 }); 10 }); 11 12 $(document).on('click', '.wcp-openweather-settings-submit', function(e) { 13 e.preventDefault(); 14 var data = 'nonce=' + ajax_rpw.ajax_nonce; 15 data = data + "&" + $(this).closest('form').serialize(); 16 17 jQuery.ajax({ 18 url: ajax_rpw.ajax_url, 19 type: 'POST' , 20 data: data, 21 dataType: 'json', 22 cache: false, 23 success: function(data) { 24 if (!!data.status && data.status == 'ok') { 25 //location.href = location.href; 26 window.location.reload(); 27 } 28 }, 29 error: function (request, status, error) { 30 } 31 }); 32 33 return false; 34 }); 35 36})(jQuery); 37 38
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.