Show More
@@ -159,12 +159,12 b'' | |||||
159 | } |
|
159 | } | |
160 |
|
160 | |||
161 | YUD.get('pull_request_overview').innerHTML = "${_('Loading ...')}"; |
|
161 | YUD.get('pull_request_overview').innerHTML = "${_('Loading ...')}"; | |
|
162 | YUD.get('pull_request_overview_url').href = url; // shouldn't have as_form ... but ... | |||
|
163 | YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display',''); | |||
162 | ypjax(url,'pull_request_overview', function(data){ |
|
164 | ypjax(url,'pull_request_overview', function(data){ | |
163 | var sel_box = YUQ('#pull_request_form #other_repo')[0]; |
|
165 | var sel_box = YUQ('#pull_request_form #other_repo')[0]; | |
164 | var repo_name = sel_box.options[sel_box.selectedIndex].value; |
|
166 | var repo_name = sel_box.options[sel_box.selectedIndex].value; | |
165 | var _data = other_repos_info[repo_name]; |
|
167 | var _data = other_repos_info[repo_name]; | |
166 | YUD.get('pull_request_overview_url').href = url; |
|
|||
167 | YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display',''); |
|
|||
168 | YUD.get('other_repo_desc').innerHTML = other_repos_info[repo_name]['description']; |
|
168 | YUD.get('other_repo_desc').innerHTML = other_repos_info[repo_name]['description']; | |
169 | YUD.get('other_ref').innerHTML = other_repos_info[repo_name]['revs']; |
|
169 | YUD.get('other_ref').innerHTML = other_repos_info[repo_name]['revs']; | |
170 | // select back the revision that was just compared |
|
170 | // select back the revision that was just compared |
General Comments 0
You need to be logged in to leave comments.
Login now