id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
5706,[Patch] Remove obsolete jQuery syntax,Bart Ogryczak,CuriousCurmudgeon,"This plugin uses JQuery 1.1 {{{[@selectors]}}} which are deprecated in JQuery 1.2 and removed completely in JQuery 1.3.
Easily fixable by removing {{{@}}}
Patch:
{{{
--- batchmod/templates/batchmod.html.orig 2008-10-12 20:57:00.000000000 +0200
+++ batchmod/templates/batchmod.html 2009-08-24 14:26:44.000000000 +0200
@@ -79,17 +79,17 @@
$(this).before('
| ');
}
)
- $(""input[@name='bmod_toggleGroup']"").click(function() {
+ $(""input[name='bmod_toggleGroup']"").click(function() {
$(""tr td input.bmod_selector"",$(this).parents(""table.listing"")).attr(""checked"",this.checked);
})
- $(""input[@id=bmod_flag_${field.name}]"").click(function() { $(""*[@name=bmod_value_${field.name}]"").enable(this.checked);} )
+ $(""input[id=bmod_flag_${field.name}]"").click(function() { $(""*[name=bmod_value_${field.name}]"").enable(this.checked);} )
$(""input#bmod_flag_comment"").click(function() {enableControl(""bmod_value_comment"",this.checked);} )
$(""form#batchmod-form"").submit(function() {
var selectedTix=[];
- $(""input[@name=selectedTicket]:checked"").each( function(){ selectedTix.push(this.value);} );
- $(""input[@name=selectedTickets]"").val(selectedTix);
+ $(""input[name=selectedTicket]:checked"").each( function(){ selectedTix.push(this.value);} );
+ $(""input[name=selectedTickets]"").val(selectedTix);
})
$(document.getElementById(""columns"")).toggleClass(""collapsed"");
});
}}}",defect,closed,normal,BatchModifyPlugin,normal,duplicate,,,0.11