Bugzilla – Bug 3672
Random Mix: 'Select All/None' also changes 'Add new items...'
Last modified: 2009-01-29 09:47:01 UTC
When clicking the 'Select None'/'Select All' button on the Random Mix page it also changes the value of the 'Add new items when old ones finish' checkbox. I believe that it should only (un-)check all the genres. Running on 6.5b July 1st nightly, but I also believed it was a problem when I was running on 6.2.x A simple change to the JavaScript function selectAll in 'Plugins/RandomPlay/HTML/EN/plugins/RandomPlay/randomplay_list.html' should fix the problem. Add an extra condition in the first if statement so it looks like this: if (f.elements[i].type == 'checkbox' && f.elements[i].name != 'continuousMode')
Created attachment 1299 [details] Patched randomplay_list.html randomplay_list.html with the suggested change added. So someone with the prober skills and SVN rights can verify and check in.
are you able to attach a 'diff -upB' against the old file? if you use svn: svn diff randomplay_list.html > randomplay_list.diff if you don't: diff -upB randomplay_list.html.old randomplay_list.html.patched > randomplay_list.diff easier for a dev to merge and verify. thanks.
Created attachment 1300 [details] diff of the changes Here are a diff of the changes I made to the randomplay_list.html
This seems ok to me..
Fixed in change 8300