Show More
@@ -171,28 +171,6 b'' | |||||
171 | if(checked_checkboxes.length>0){ |
|
171 | if(checked_checkboxes.length>0){ | |
172 | var rev_end = checked_checkboxes[0].name; |
|
172 | var rev_end = checked_checkboxes[0].name; | |
173 | var rev_start = checked_checkboxes[checked_checkboxes.length-1].name; |
|
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 | var url = url_tmpl.replace('__REVRANGE__', |
|
174 | var url = url_tmpl.replace('__REVRANGE__', | |
197 | rev_start+'...'+rev_end); |
|
175 | rev_start+'...'+rev_end); | |
198 |
|
176 |
General Comments 0
You need to be logged in to leave comments.
Login now