User:Technical 13/SandBox/Gadget-BugStatusUpdate.js: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
Not sure why this suddenly quit working.
Technical 13 (talk | contribs)
Wait... Yes I do...
Line 50:
for(var b in data.result.bugs) {
//find the right bug to update
var $item = $('.mw-trackedTemplate').find('a[title^="bugzilla:'+data.result.bugs[b].id+'"]');
var title = .find$('a[title^="bugzilla:.trakbug-'+data.result.bugs[b].id+'"]');
title = $('.trakbug-'+data.result.bugs[b].id)
 
if(title) {
title.text( data.result.bugs[b].summary );
}
// COMPATIBILITY SECTION TOP FOR CURRENT SETUP
titlevar titleBACK = $('.#trakbug-'+data.result.bugs[b].id);
if(titleBACK) {
titleBACK.text( data.result.bugs[b].summary );
}
// COMPATIBILITY SECTION BOTTOM FOR CURRENT SETUP
 
if($item) {
//find child, if exists