Mercurial > kallithea
changeset 4482:c6a94b6808c5
templates: replace YUI with jquery in kallithea/templates/admin/repo_groups/repo_group_edit_perms.html
author | Takumi IINO <trot.thunder@gmail.com> |
---|---|
date | Tue, 22 Jul 2014 00:46:21 +0900 |
parents | 5a2357a2b824 |
children | 13e64d72bc35 |
files | kallithea/templates/admin/repo_groups/repo_group_edit_perms.html |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html Tue Jul 22 00:46:21 2014 +0900 +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html Tue Jul 22 00:46:21 2014 +0900 @@ -129,10 +129,10 @@ }; $(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}); }); });