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 | } |
@@ -173,7 +173,6 b'' | |||||
173 | // change branch filter |
|
173 | // change branch filter | |
174 | YUE.on(YUD.get('branch_filter'),'change',function(e){ |
|
174 | YUE.on(YUD.get('branch_filter'),'change',function(e){ | |
175 | var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value; |
|
175 | var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value; | |
176 | console.log(selected_branch); |
|
|||
177 | var url_main = "${h.url('changelog_home',repo_name=c.repo_name)}"; |
|
176 | var url_main = "${h.url('changelog_home',repo_name=c.repo_name)}"; | |
178 | var url = "${h.url('changelog_home',repo_name=c.repo_name,branch='__BRANCH__')}"; |
|
177 | var url = "${h.url('changelog_home',repo_name=c.repo_name,branch='__BRANCH__')}"; | |
179 | var url = url.replace('__BRANCH__',selected_branch); |
|
178 | var url = url.replace('__BRANCH__',selected_branch); |
@@ -138,15 +138,11 b'' | |||||
138 | YUE.on(YUQ('.show-inline-comments'),'change',function(e){ |
|
138 | YUE.on(YUQ('.show-inline-comments'),'change',function(e){ | |
139 | var show = 'none'; |
|
139 | var show = 'none'; | |
140 | var target = e.currentTarget; |
|
140 | var target = e.currentTarget; | |
141 | console.log(target); |
|
|||
142 | if(target.checked){ |
|
141 | if(target.checked){ | |
143 | var show = '' |
|
142 | var show = '' | |
144 | } |
|
143 | } | |
145 | console.log('aa') |
|
|||
146 | var boxid = YUD.getAttribute(target,'id_for'); |
|
144 | var boxid = YUD.getAttribute(target,'id_for'); | |
147 | console.log(boxid); |
|
|||
148 | var comments = YUQ('#{0} .inline-comments'.format(boxid)); |
|
145 | var comments = YUQ('#{0} .inline-comments'.format(boxid)); | |
149 | console.log(comments) |
|
|||
150 | for(c in comments){ |
|
146 | for(c in comments){ | |
151 | YUD.setStyle(comments[c],'display',show); |
|
147 | YUD.setStyle(comments[c],'display',show); | |
152 | } |
|
148 | } |
General Comments 0
You need to be logged in to leave comments.
Login now