Mercurial > kallithea
comparison rhodecode/templates/pullrequests/pullrequest_show.html @ 3106:e26c11b68850 beta
remove reviewers button removes them without need of hitting save button.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 14 Dec 2012 03:31:44 +0100 |
parents | 706b9f84ade3 |
children | 68f9c216377d |
comparison
equal
deleted
inserted
replaced
3105:706b9f84ade3 | 3106:e26c11b68850 |
---|---|
196 }); | 196 }); |
197 | 197 |
198 // inject comments into they proper positions | 198 // inject comments into they proper positions |
199 var file_comments = YUQ('.inline-comment-placeholder'); | 199 var file_comments = YUQ('.inline-comment-placeholder'); |
200 renderInlineComments(file_comments); | 200 renderInlineComments(file_comments); |
201 | 201 |
202 YUE.on(YUD.get('update_pull_request'),'click',function(e){ | 202 YUE.on(YUD.get('update_pull_request'),'click',function(e){ |
203 | 203 updateReviewers(); |
204 var reviewers_ids = []; | |
205 var ids = YUQ('#review_members input'); | |
206 for(var i=0; i<ids.length;i++){ | |
207 var id = ids[i].value | |
208 reviewers_ids.push(id); | |
209 } | |
210 updateReviewers(reviewers_ids); | |
211 }) | 204 }) |
212 }) | 205 }) |
213 </script> | 206 </script> |
214 | 207 |
215 </div> | 208 </div> |