Show More
@@ -657,7 +657,6 b' var get_group_name = function(node){' | |||||
657 | return name |
|
657 | return name | |
658 | } |
|
658 | } | |
659 | var get_date = function(node){ |
|
659 | var get_date = function(node){ | |
660 | console.log(node.firstElementChild) |
|
|||
661 | var date_ = node.firstElementChild.innerHTML; |
|
660 | var date_ = node.firstElementChild.innerHTML; | |
662 | return date_ |
|
661 | return date_ | |
663 | } |
|
662 | } |
@@ -140,7 +140,6 b'' | |||||
140 | // change branch filter |
|
140 | // change branch filter | |
141 | YUE.on(YUD.get('branch_filter'),'change',function(e){ |
|
141 | YUE.on(YUD.get('branch_filter'),'change',function(e){ | |
142 | var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value; |
|
142 | var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value; | |
143 | console.log(selected_branch); |
|
|||
144 | var url_main = "${h.url('changelog_home',repo_name=c.repo_name)}"; |
|
143 | var url_main = "${h.url('changelog_home',repo_name=c.repo_name)}"; | |
145 | var url = "${h.url('changelog_home',repo_name=c.repo_name,branch='__BRANCH__')}"; |
|
144 | var url = "${h.url('changelog_home',repo_name=c.repo_name,branch='__BRANCH__')}"; | |
146 | var url = url.replace('__BRANCH__',selected_branch); |
|
145 | var url = url.replace('__BRANCH__',selected_branch); |
@@ -154,15 +154,11 b'' | |||||
154 | YUE.on(YUQ('.show-inline-comments'),'change',function(e){ |
|
154 | YUE.on(YUQ('.show-inline-comments'),'change',function(e){ | |
155 | var show = 'none'; |
|
155 | var show = 'none'; | |
156 | var target = e.currentTarget; |
|
156 | var target = e.currentTarget; | |
157 | console.log(target); |
|
|||
158 | if(target.checked){ |
|
157 | if(target.checked){ | |
159 | var show = '' |
|
158 | var show = '' | |
160 | } |
|
159 | } | |
161 | console.log('aa') |
|
|||
162 | var boxid = YUD.getAttribute(target,'id_for'); |
|
160 | var boxid = YUD.getAttribute(target,'id_for'); | |
163 | console.log(boxid); |
|
|||
164 | var comments = YUQ('#{0} .inline-comments'.format(boxid)); |
|
161 | var comments = YUQ('#{0} .inline-comments'.format(boxid)); | |
165 | console.log(comments) |
|
|||
166 | for(c in comments){ |
|
162 | for(c in comments){ | |
167 | YUD.setStyle(comments[c],'display',show); |
|
163 | YUD.setStyle(comments[c],'display',show); | |
168 | } |
|
164 | } |
General Comments 0
You need to be logged in to leave comments.
Login now