1(function ($) { 2 3Drupal.behaviors.commentNotify = { 4 attach: function (context) { 5 $('#edit-notify', context) 6 .bind('change', function() { 7 $('#edit-notify-type', context) 8 [this.checked ? 'show' : 'hide']() 9 .find('input[type=checkbox]:checked').attr('checked', 'checked'); 10 }) 11 .trigger('change'); 12 } 13} 14 15})(jQuery); 16; 17(function ($) { 18$(document).ready(function() { 19 if (Drupal.ajax) { 20 // Add a new ajax command that will change the location of the current page. 21 Drupal.ajax.prototype.commands.buttonFieldLocation = function(ajax, response, status) { 22 location.href = response.url; 23 }; 24 } 25}); 26})(jQuery);; 27(function ($) { 28 Drupal.behaviors.switchtheme = { 29 attach: function (context) { 30 $('#edit-theme', context).change(function () { 31 $('#switchtheme-switch-form').submit(); 32 }); 33 $('#switchtheme-submit').hide(); 34 } 35 }; 36})(jQuery);;
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.