Changeset - 4e4ef6baf5df
[Not reviewed]
default
0 1 0
Takumi IINO - 11 years ago 2014-07-21 17:46:27
trot.thunder@gmail.com
templates: replace YUI with jquery in kallithea/templates/tags/tags.html
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/tags/tags.html
Show inline comments
 
@@ -30,16 +30,16 @@ ${self.repo_context_bar('switch-to')}
 
    %endif
 
    <div class="table">
 
        <%include file='tags_data.html'/>
 
    </div>
 
</div>
 
<script type="text/javascript">
 
YUE.on('compare_tags','click',function(e){
 
    YUE.preventDefault(e);
 
    var org = YUQ('input[name=compare_org]:checked')[0];
 
    var other = YUQ('input[name=compare_other]:checked')[0];
 
$('#compare_tags').click(function(e){
 
    e.preventDefault();
 
    var org = $('input[name=compare_org]:checked')[0];
 
    var other = $('input[name=compare_other]:checked')[0];
 

	
 
    if(org && other){
 
        var compare_url = "${h.url('compare_url',repo_name=c.repo_name,org_ref_type='tag',org_ref_name='__ORG__',other_ref_type='tag',other_ref_name='__OTHER__')}";
 
        var u = compare_url.replace('__ORG__',org.value)
 
                           .replace('__OTHER__',other.value);
 
        window.location=u;
0 comments (0 inline, 0 general)