includes/clientside/static/acl.js
changeset 535 b31eb2b6c137
parent 513 c15fbf197a54
child 541 acb7e23b6ffa
equal deleted inserted replaced
534:6be4b47aa247 535:b31eb2b6c137
   772       thispage = strToPageID(title);
   772       thispage = strToPageID(title);
   773       do_scopesel = ( thispage[0] == aclDataCache.page_id && thispage[1] == aclDataCache.namespace );
   773       do_scopesel = ( thispage[0] == aclDataCache.page_id && thispage[1] == aclDataCache.namespace );
   774       
   774       
   775       if(do_scopesel)
   775       if(do_scopesel)
   776       {
   776       {
   777         scope = getRadioState(thefrm, 'scope', ['page', 'global']);
   777         scope = getRadioState(thefrm, 'scope', ['page', 'group', 'global']);
   778         if(scope == 'page')
   778         if(scope == 'page')
   779         {
   779         {
   780           pageid = strToPageID(title);
   780           pageid = strToPageID(title);
   781           obj['page_id'] = pageid[0];
   781           obj['page_id'] = pageid[0];
   782           obj['namespace'] = pageid[1];
   782           obj['namespace'] = pageid[1];