? jquery.patch ? jquery.pathc ? log ? test.rb Index: misc/autocomplete.js =================================================================== RCS file: /cvs/drupal/drupal/misc/autocomplete.js,v retrieving revision 1.17 diff -r1.17 autocomplete.js 8c8 < $('input.autocomplete').each(function () { --- > jQuery('input.autocomplete').each(function () { 13c13 < var input = $('#' + this.id.substr(0, this.id.length - 13)) --- > var input = jQuery('#' + this.id.substr(0, this.id.length - 13)) 15c15 < $(input.form).submit(Drupal.autocompleteSubmit); --- > jQuery(input.form).submit(Drupal.autocompleteSubmit); 25c25 < return $('#autocomplete').each(function () { --- > return jQuery('#autocomplete').each(function () { 38c38 < $(this.input) --- > jQuery(this.input) 116c116 < var lis = $('li', this.popup); --- > var lis = jQuery('li', this.popup); 137c137 < $(this.selected).removeClass('selected'); --- > jQuery(this.selected).removeClass('selected'); 139c139 < $(node).addClass('selected'); --- > jQuery(node).addClass('selected'); 147c147 < $(node).removeClass('selected'); --- > jQuery(node).removeClass('selected'); 163c163 < $(popup).fadeOut('fast', function() { $(popup).remove(); }); --- > jQuery(popup).fadeOut('fast', function() { jQuery(popup).remove(); }); 174c174 < $(this.popup).remove(); --- > jQuery(this.popup).remove(); 180c180 < $(this.popup).css({ --- > jQuery(this.popup).css({ 185c185 < $(this.input).before(this.popup); --- > jQuery(this.input).before(this.popup); 206c206 < $(li) --- > jQuery(li) 212c212 < $(ul).append(li); --- > jQuery(ul).append(li); 218c218 < $(this.popup).empty().append(ul).show(); --- > jQuery(this.popup).empty().append(ul).show(); 221c221 < $(this.popup).css({visibility: 'hidden'}); --- > jQuery(this.popup).css({visibility: 'hidden'}); 230c230 < $(this.input).addClass('throbbing'); --- > jQuery(this.input).addClass('throbbing'); 235c235 < $(this.input).removeClass('throbbing'); --- > jQuery(this.input).removeClass('throbbing'); 302c302 < $(document).ready(Drupal.autocompleteAutoAttach); --- > jQuery(document).ready(Drupal.autocompleteAutoAttach); Index: misc/collapse.js =================================================================== RCS file: /cvs/drupal/drupal/misc/collapse.js,v retrieving revision 1.11 diff -r1.11 collapse.js 7,9c7,9 < if ($(fieldset).is('.collapsed')) { < var content = $('> div', fieldset).hide(); < $(fieldset).removeClass('collapsed'); --- > if (jQuery(fieldset).is('.collapsed')) { > var content = jQuery('> div', fieldset).hide(); > jQuery(fieldset).removeClass('collapsed'); 13c13 < $(this).css('height', 'auto'); --- > jQuery(this).css('height', 'auto'); 23,24c23,24 < var content = $('> div', fieldset).slideUp('medium', function() { < $(this.parentNode).addClass('collapsed'); --- > var content = jQuery('> div', fieldset).slideUp('medium', function() { > jQuery(this.parentNode).addClass('collapsed'); 34,35c34,35 < var h = self.innerHeight || document.documentElement.clientHeight || $('body')[0].clientHeight || 0; < var offset = self.pageYOffset || document.documentElement.scrollTop || $('body')[0].scrollTop || 0; --- > var h = self.innerHeight || document.documentElement.clientHeight || jQuery('body')[0].clientHeight || 0; > var offset = self.pageYOffset || document.documentElement.scrollTop || jQuery('body')[0].scrollTop || 0; 49,51c49,51 < $(document).ready(function() { < $('fieldset.collapsible > legend').each(function() { < var fieldset = $(this.parentNode); --- > jQuery(document).ready(function() { > jQuery('fieldset.collapsible > legend').each(function() { > var fieldset = jQuery(this.parentNode); 53c53 < if ($('input.error, textarea.error, select.error', fieldset).size() > 0) { --- > if (jQuery('input.error, textarea.error, select.error', fieldset).size() > 0) { 60,61c60,61 < $(this).empty().append($(''+ text +'').click(function() { < var fieldset = $(this).parents('fieldset:first')[0]; --- > jQuery(this).empty().append(jQuery(''+ text +'').click(function() { > var fieldset = jQuery(this).parents('fieldset:first')[0]; 68c68 < })).after($('
').append(fieldset.children(':not(legend)'))); --- > })).after(jQuery('').append(fieldset.children(':not(legend)'))); Index: misc/drupal.js =================================================================== RCS file: /cvs/drupal/drupal/misc/drupal.js,v retrieving revision 1.29 diff -r1.29 drupal.js 49c49 < var iframe = $('#redirect-target').get(0); --- > var iframe = jQuery('#redirect-target').get(0); 138c138 < if ($('#redirect-holder').size()) { --- > if (jQuery('#redirect-holder').size()) { 146c146 < $(div).html(''); --- > jQuery(div).html(''); 148c148 < $(iframe) --- > jQuery(iframe) 159c159 < $('body').append(div); --- > jQuery('body').append(div); 166c166 < $('#redirect-holder').remove(); --- > jQuery('#redirect-holder').remove(); 176c176 < $(div).css({ --- > jQuery(div).css({ 181c181 < height: $('body').css('height') --- > height: jQuery('body').css('height') 183c183 < $('body').append(div); --- > jQuery('body').append(div); 190c190 < $('#freeze-height').remove(); --- > jQuery('#freeze-height').remove(); Index: misc/progress.js =================================================================== RCS file: /cvs/drupal/drupal/misc/progress.js,v retrieving revision 1.14 diff -r1.14 progress.js 23c23 < $(this.element).html(''+ --- > jQuery(this.element).html(''+ 33,34c33,34 < $('div.filled', this.element).css('width', percentage +'%'); < $('div.percentage', this.element).html(percentage +'%'); --- > jQuery('div.filled', this.element).css('width', percentage +'%'); > jQuery('div.percentage', this.element).html(percentage +'%'); 36c36 < $('div.message', this.element).html(message); --- > jQuery('div.message', this.element).html(message); 103c103 < $(this.element).before(error).hide(); --- > jQuery(this.element).before(error).hide(); Index: misc/tableheader.js =================================================================== RCS file: /cvs/drupal/drupal/misc/tableheader.js,v retrieving revision 1.1 diff -r1.1 tableheader.js 9c9 < $(document).ready(function() { --- > jQuery(document).ready(function() { 11c11 < $('table thead').each(function () { --- > jQuery('table thead').each(function () { 13,14c13,14 < var table = $(this).parent('table')[0]; < var height = $(table).addClass('sticky-table').height(); --- > var table = jQuery(this).parent('table')[0]; > var height = jQuery(table).addClass('sticky-table').height(); 18c18 < $('th', this).each(function () { --- > jQuery('th', this).each(function () { 21c21 < var html = $(this).html(); --- > var html = jQuery(this).html(); 25c25 < if ($(this).children().size() == 0) { --- > if (jQuery(this).children().size() == 0) { 30,36c30,36 < $('').prependTo(this); < var div = $('div.sticky-header', this).css({ < 'marginLeft': '-'+ $(this).css('paddingLeft'), < 'marginRight': '-'+ $(this).css('paddingRight'), < 'paddingLeft': $(this).css('paddingLeft'), < 'paddingTop': $(this).css('paddingTop'), < 'paddingBottom': $(this).css('paddingBottom'), --- > jQuery('').prependTo(this); > var div = jQuery('div.sticky-header', this).css({ > 'marginLeft': '-'+ jQuery(this).css('paddingLeft'), > 'marginRight': '-'+ jQuery(this).css('paddingRight'), > 'paddingLeft': jQuery(this).css('paddingLeft'), > 'paddingTop': jQuery(this).css('paddingTop'), > 'paddingBottom': jQuery(this).css('paddingBottom'), 48,49c48,49 < $(div).css('width', parseInt($(ref).width()) < - parseInt($(div).css('paddingLeft')) +'px'); --- > jQuery(div).css('width', parseInt(jQuery(ref).width()) > - parseInt(jQuery(div).css('paddingLeft')) +'px'); 62c62 < $(cells).each(function () { --- > jQuery(cells).each(function () { 67c67 < $(this).css('visibility', 'visible'); --- > jQuery(this).css('visibility', 'visible'); 70c70 < $(this).css('visibility', 'hidden'); --- > jQuery(this).css('visibility', 'hidden'); 74,75c74,75 < $(window).scroll(scroll); < $(document.documentElement).scroll(scroll); --- > jQuery(window).scroll(scroll); > jQuery(document.documentElement).scroll(scroll); 88,89c88,89 < $('table.sticky-table').each(function () { < this.height = $(this).height(); --- > jQuery('table.sticky-table').each(function () { > this.height = jQuery(this).height(); 92c92 < $(cells).each(function () { --- > jQuery(cells).each(function () { 103,104c103,104 < $(this).css('width', parseInt($(ref).width()) < - parseInt($(this).css('paddingLeft')) +'px'); --- > jQuery(this).css('width', parseInt(jQuery(ref).width()) > - parseInt(jQuery(this).css('paddingLeft')) +'px'); 108c108 < $(window).resize(resize); --- > jQuery(window).resize(resize); Index: misc/tableselect.js =================================================================== RCS file: /cvs/drupal/drupal/misc/tableselect.js,v retrieving revision 1.1 diff -r1.1 tableselect.js 8c8 < selectAll = $('').attr('title', settings.selectAll).click(function() { --- > selectAll = jQuery('').attr('title', settings.selectAll).click(function() { 13c13 < $(this).parents('tr:first')[ this.checked ? 'addClass' : 'removeClass' ]('selected'); --- > jQuery(this).parents('tr:first')[ this.checked ? 'addClass' : 'removeClass' ]('selected'); 20c20 < $('th.select-all', table).prepend(selectAll); --- > jQuery('th.select-all', table).prepend(selectAll); 23c23 < checkboxes = $('td input:checkbox', table).click(function(e) { --- > checkboxes = jQuery('td input:checkbox', table).click(function(e) { 25c25 < $(this).parents('tr:first')[ this.checked ? 'addClass' : 'removeClass' ]('selected'); --- > jQuery(this).parents('tr:first')[ this.checked ? 'addClass' : 'removeClass' ]('selected'); 32c32 < Drupal.tableSelectRange($(e.target).parents('tr')[0], $(lastChecked).parents('tr')[0], e.target.checked); --- > Drupal.tableSelectRange(jQuery(e.target).parents('tr')[0], jQuery(lastChecked).parents('tr')[0], e.target.checked); 36c36 < selectAll[0].checked = (checkboxes.length == $(checkboxes).filter(':checked').length); --- > selectAll[0].checked = (checkboxes.length == jQuery(checkboxes).filter(':checked').length); 55,56c55,56 < $(i)[ state ? 'addClass' : 'removeClass' ]('selected'); < $('input:checkbox', i).each(function() { --- > jQuery(i)[ state ? 'addClass' : 'removeClass' ]('selected'); > jQuery('input:checkbox', i).each(function() { 64c64 < // A faster alternative to doing $(i).filter(to).length. --- > // A faster alternative to doing jQuery(i).filter(to).length. 72,73c72,73 < $(document).ready(function() { < $('form table[th.select-all]').each(Drupal.tableSelect); --- > jQuery(document).ready(function() { > jQuery('form table[th.select-all]').each(Drupal.tableSelect); Index: misc/textarea.js =================================================================== RCS file: /cvs/drupal/drupal/misc/textarea.js,v retrieving revision 1.12 diff -r1.12 textarea.js 4,5c4,5 < $('textarea.resizable:not(.processed)').each(function() { < var textarea = $(this).addClass('processed'), staticOffset = null; --- > jQuery('textarea.resizable:not(.processed)').each(function() { > var textarea = jQuery(this).addClass('processed'), staticOffset = null; 7,8c7,8 < $(this).wrap('') < .parent().append($('').mousedown(startDrag)); --- > jQuery(this).wrap('') > .parent().append(jQuery('').mousedown(startDrag)); 10,11c10,11 < var grippie = $('div.grippie', $(this).parent())[0]; < grippie.style.marginRight = (grippie.offsetWidth - $(this)[0].offsetWidth) +'px'; --- > var grippie = jQuery('div.grippie', jQuery(this).parent())[0]; > grippie.style.marginRight = (grippie.offsetWidth - jQuery(this)[0].offsetWidth) +'px'; 16c16 < $(document).mousemove(performDrag).mouseup(endDrag); --- > jQuery(document).mousemove(performDrag).mouseup(endDrag); 26,27c26,27 < $(document).unbind("mousemove"); < $(document).unbind("mouseup"); --- > jQuery(document).unbind("mousemove"); > jQuery(document).unbind("mouseup"); 34c34 < $(document).ready(Drupal.textareaAttach); --- > jQuery(document).ready(Drupal.textareaAttach); Index: misc/update.js =================================================================== RCS file: /cvs/drupal/drupal/misc/update.js,v retrieving revision 1.10 diff -r1.10 update.js 4,6c4,6 < $(document).ready(function() { < $('#edit-has-js').each(function() { this.value = 1; }); < $('#progress').each(function () { --- > jQuery(document).ready(function() { > jQuery('#edit-has-js').each(function() { this.value = 1; }); > jQuery('#progress').each(function () { 21,23c21,23 < $(div).html('An unrecoverable error has occured. You can find the error message below. It is advised to copy it to the clipboard for reference. Please continue to the update summary'); < $(holder).prepend(div); < $('#wait').hide(); --- > jQuery(div).html('An unrecoverable error has occured. You can find the error message below. It is advised to copy it to the clipboard for reference. Please continue to the update summary'); > jQuery(holder).prepend(div); > jQuery('#wait').hide(); 28c28 < $(holder).append(progress.element); --- > jQuery(holder).append(progress.element); Index: misc/upload.js =================================================================== RCS file: /cvs/drupal/drupal/misc/upload.js,v retrieving revision 1.11 diff -r1.11 upload.js 7c7 < $('input.upload').each(function () { --- > jQuery('input.upload').each(function () { 27c27 < Drupal.redirectFormButton(uri, $(this.button).get(0), this); --- > Drupal.redirectFormButton(uri, jQuery(this.button).get(0), this); 40,41c40,41 < var offset = $(hide).get(0).offsetHeight; < $(el).css({ --- > var offset = jQuery(hide).get(0).offsetHeight; > jQuery(el).css({ 47c47 < $(hide).css('position', 'absolute'); --- > jQuery(hide).css('position', 'absolute'); 49,51c49,51 < $(hide).after(el); < $(el).fadeIn('slow'); < $(hide).fadeOut('slow'); --- > jQuery(hide).after(el); > jQuery(el).fadeIn('slow'); > jQuery(hide).fadeOut('slow'); 60c60 < $(this.wrapper).html(''); --- > jQuery(this.wrapper).html(''); 64c64 < $(div).html(data); --- > jQuery(div).html(data); 67c67 < if ($('tr', div).size() == 2) { --- > if (jQuery('tr', div).size() == 2) { 69,71c69,71 < $(div).hide(); < $(this.wrapper).append(div); < $(div).fadeIn('slow'); --- > jQuery(div).hide(); > jQuery(this.wrapper).append(div); > jQuery(div).fadeIn('slow'); 77c77 < $('table tr:last-of-type td', div).hide(); --- > jQuery('table tr:last-of-type td', div).hide(); 80c80 < // Should be: $(this.hide, div).hide(); --- > // Should be: jQuery(this.hide, div).hide(); 82c82 < $('div', div).each(function() { --- > jQuery('div', div).each(function() { 89,91c89,91 < $(this.wrapper).append(div); < $('table tr:last-of-type td', div).fadeIn('slow'); < $(this.hide, div).fadeIn('slow'); --- > jQuery(this.wrapper).append(div); > jQuery('table tr:last-of-type td', div).fadeIn('slow'); > jQuery(this.hide, div).fadeIn('slow'); 103c103 < $(this.progress.element).remove(); --- > jQuery(this.progress.element).remove(); 106c106 < $(this.hide).css({ --- > jQuery(this.hide).css({ 115c115 < $(document).ready(Drupal.uploadAutoAttach); --- > jQuery(document).ready(Drupal.uploadAutoAttach); Index: misc/farbtastic/farbtastic.js =================================================================== RCS file: /cvs/drupal/drupal/misc/farbtastic/farbtastic.js,v retrieving revision 1.3 diff -r1.3 farbtastic.js 10c10 < var container = $(container).get(0); --- > var container = jQuery(container).get(0); 19,21c19,21 < $(container).html('