includes/clientside/static/acl.js
changeset 292 704e1d3ca378
parent 259 112debff64bd
equal deleted inserted replaced
291:fe6380ae4a1a 292:704e1d3ca378
   651       thispage = strToPageID(title);
   651       thispage = strToPageID(title);
   652       do_scopesel = ( thispage[0] == aclDataCache.page_id && thispage[1] == aclDataCache.namespace );
   652       do_scopesel = ( thispage[0] == aclDataCache.page_id && thispage[1] == aclDataCache.namespace );
   653       
   653       
   654       if(do_scopesel)
   654       if(do_scopesel)
   655       {
   655       {
   656         scope = getRadioState(thefrm, 'scope', ['page', 'global']);
   656         scope = getRadioState(thefrm, 'scope', ['page', 'group', 'global']);
   657         if(scope == 'page')
   657         if(scope == 'page')
   658         {
   658         {
   659           pageid = strToPageID(title);
   659           pageid = strToPageID(title);
   660           obj['page_id'] = pageid[0];
   660           obj['page_id'] = pageid[0];
   661           obj['namespace'] = pageid[1];
   661           obj['namespace'] = pageid[1];