Show More
@@ -149,6 +149,7 b'' | |||||
149 | //ranges |
|
149 | //ranges | |
150 | var checkboxes = YUD.getElementsByClassName('changeset_range'); |
|
150 | var checkboxes = YUD.getElementsByClassName('changeset_range'); | |
151 | var url_tmpl = "${h.url('changeset_home',repo_name=c.repo_name,revision='__REVRANGE__')}"; |
|
151 | var url_tmpl = "${h.url('changeset_home',repo_name=c.repo_name,revision='__REVRANGE__')}"; | |
|
152 | var pr_tmpl = "${h.url('pullrequest_home',repo_name=c.repo_name)}"; | |||
152 | YUE.on(checkboxes,'click',function(e){ |
|
153 | YUE.on(checkboxes,'click',function(e){ | |
153 | var clicked_cb = e.currentTarget; |
|
154 | var clicked_cb = e.currentTarget; | |
154 | var checked_checkboxes = []; |
|
155 | var checked_checkboxes = []; | |
@@ -203,7 +204,7 b'' | |||||
203 | YUD.setStyle('rev_range_container','display',''); |
|
204 | YUD.setStyle('rev_range_container','display',''); | |
204 | YUD.setStyle('rev_range_clear','display',''); |
|
205 | YUD.setStyle('rev_range_clear','display',''); | |
205 |
|
206 | |||
206 |
YUD.get('open_new_pr').href + |
|
207 | YUD.get('open_new_pr').href = pr_tmpl + '?rev_start={0}&rev_end={1}'.format(rev_start,rev_end); | |
207 |
|
208 | |||
208 | } |
|
209 | } | |
209 | else{ |
|
210 | else{ |
General Comments 0
You need to be logged in to leave comments.
Login now