Mercurial > kallithea
comparison rhodecode/templates/pullrequests/pullrequest.html @ 3380:01fe360a66c0 beta
fixed pull-requests with cherry picking changesets
- fixed tests for them
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 19 Feb 2013 01:57:59 +0100 |
parents | cfc0fef66ddd |
children | cb40b3f6428c |
comparison
equal
deleted
inserted
replaced
3379:8171dfafb5db | 3380:01fe360a66c0 |
---|---|
161 ypjax(url,'pull_request_overview', function(data){ | 161 ypjax(url,'pull_request_overview', function(data){ |
162 var sel_box = YUQ('#pull_request_form #other_repo')[0]; | 162 var sel_box = YUQ('#pull_request_form #other_repo')[0]; |
163 var repo_name = sel_box.options[sel_box.selectedIndex].value; | 163 var repo_name = sel_box.options[sel_box.selectedIndex].value; |
164 YUD.get('pull_request_overview_url').href = url; | 164 YUD.get('pull_request_overview_url').href = url; |
165 YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display',''); | 165 YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display',''); |
166 YUD.get('other_repo_gravatar').src = other_repos_info[repo_name]['gravatar']; | |
167 YUD.get('other_repo_desc').innerHTML = other_repos_info[repo_name]['description']; | 166 YUD.get('other_repo_desc').innerHTML = other_repos_info[repo_name]['description']; |
168 YUD.get('other_ref').innerHTML = other_repos_info[repo_name]['revs']; | 167 YUD.get('other_ref').innerHTML = other_repos_info[repo_name]['revs']; |
169 // select back the revision that was just compared | 168 // select back the revision that was just compared |
170 setSelectValue(YUD.get('other_ref'), rev_data['other_ref']); | 169 setSelectValue(YUD.get('other_ref'), rev_data['other_ref']); |
171 }) | 170 }) |