##// END OF EJS Templates
changelog: don't select all checkboxes in the middle...
Mads Kiilerich -
r3411:0f15f88e beta
parent child Browse files
Show More
@@ -171,28 +171,6 b''
171 171 if(checked_checkboxes.length>0){
172 172 var rev_end = checked_checkboxes[0].name;
173 173 var rev_start = checked_checkboxes[checked_checkboxes.length-1].name;
174
175 // now select all checkboxes in the middle.
176 var checked = false;
177 for (var i=0; i<checkboxes.length; i++){
178 var cb = checkboxes[i];
179 var rev = cb.name;
180
181 if (rev == rev_end){
182 checked = true;
183 }
184 if (checked){
185 cb.checked = true;
186 }
187 else{
188 cb.checked = false;
189 }
190 if (rev == rev_start){
191 checked = false;
192 }
193
194 }
195
196 174 var url = url_tmpl.replace('__REVRANGE__',
197 175 rev_start+'...'+rev_end);
198 176
General Comments 0
You need to be logged in to leave comments. Login now