# HG changeset patch # User Takumi IINO # Date 2014-07-21 17:46:21 # Node ID c6a94b6808c5235143d794280029822618e81e0b # Parent 5a2357a2b82491856e9044db9897207250884ac3 templates: replace YUI with jquery in kallithea/templates/admin/repo_groups/repo_group_edit_perms.html diff --git a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html @@ -129,10 +129,10 @@ ${h.end_form()} }; $(document).ready(function () { - if (!YUD.hasClass('perm_new_member_name', 'error')) { - YUD.setStyle('add_perm_input', 'display', 'none'); + if (!$('#perm_new_member_name').hasClass('error')) { + $('#add_perm_input').hide(); } - YAHOO.util.Event.addListener('add_perm', 'click', function () { + $('#add_perm').click(function () { addPermAction(${_tmpl}, ${c.users_array|n}, ${c.user_groups_array|n}); }); });