Commits

Takumi IINO committed 8d35f0a Draft

templates: replace YUI with jquery in kallithea/templates/tags/tags.html

Comments (0)

Files changed (1)

kallithea/templates/tags/tags.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)