Show More
@@ -152,7 +152,6 b'' | |||
|
152 | 152 | var pr_tmpl = "${h.url('pullrequest_home',repo_name=c.repo_name)}"; |
|
153 | 153 | |
|
154 | 154 | var checkbox_checker = function(e){ |
|
155 | var clicked_cb = e.currentTarget; | |
|
156 | 155 | var checked_checkboxes = []; |
|
157 | 156 | for (pos in checkboxes){ |
|
158 | 157 | if(checkboxes[pos].checked){ |
@@ -160,7 +159,7 b'' | |||
|
160 | 159 | } |
|
161 | 160 | } |
|
162 | 161 | if(YUD.get('open_new_pr')){ |
|
163 | if(checked_checkboxes.length>1){ | |
|
162 | if(checked_checkboxes.length>1){ | |
|
164 | 163 | YUD.setStyle('open_new_pr','display','none'); |
|
165 | 164 | } else { |
|
166 | 165 | YUD.setStyle('open_new_pr','display',''); |
@@ -207,8 +206,10 b'' | |||
|
207 | 206 | var cb = checkboxes[i]; |
|
208 | 207 | cb.checked = false; |
|
209 | 208 | } |
|
209 | checkbox_checker(); | |
|
210 | 210 | YUE.preventDefault(e); |
|
211 | 211 | }) |
|
212 | ||
|
212 | 213 | var msgs = YUQ('.message'); |
|
213 | 214 | // get first element height |
|
214 | 215 | var el = YUQ('#graph_content .container')[0]; |
General Comments 0
You need to be logged in to leave comments.
Login now