Commits

Ankit Solanki committed b596a0e

Fixing a small error in the repo settings screen

The 'Add another member' option didn't work in 1.2 beta, as the field
was renamed from `perm_new_user_name` to `perm_new_member_name`

  • Participants
  • Parent commits b074dfa
  • Branches beta

Comments (0)

Files changed (1)

File rhodecode/templates/settings/repo_settings.html

         <script type="text/javascript">
             YAHOO.util.Event.onDOMReady(function(){
                 var D = YAHOO.util.Dom;
-                if(!D.hasClass('perm_new_user_name','error')){
+                if(!D.hasClass('perm_new_member_name','error')){
                     D.setStyle('add_perm_input','display','none');
                 }
                 YAHOO.util.Event.addListener('add_perm','click',function(){
             }
         
             // Instantiate AutoComplete for perms
-            var oAC_perms = new YAHOO.widget.AutoComplete("perm_new_user_name", "perm_container", oDS);
+            var oAC_perms = new YAHOO.widget.AutoComplete("perm_new_member_name", "perm_container", oDS);
             oAC_perms.useShadow = false;
             oAC_perms.resultTypeList = false;