includes/clientside/static/acl.js
changeset 907 44851d7e9bda
parent 823 4596c40aaa94
child 1056 f21d6e75b469
equal deleted inserted replaced
906:c949e82b8f49 907:44851d7e9bda
     6 
     6 
     7 function ajaxOpenACLManager(page_id, namespace)
     7 function ajaxOpenACLManager(page_id, namespace)
     8 {
     8 {
     9   if(IE)
     9   if(IE)
    10     return true;
    10     return true;
       
    11   
       
    12   void(page_id);
       
    13   void(namespace);
       
    14   
       
    15   // require re-auth
       
    16   if ( auth_level <= USER_LEVEL_MEMBER )
       
    17   {
       
    18     load_component(['login', 'fadefilter', 'flyin', 'jquery', 'jquery-ui', 'crypto', 'messagebox']);
       
    19     ajaxDynamicReauth(function(key)
       
    20       {
       
    21         ajaxOpenACLManager(page_id, namespace);
       
    22       }, user_level);
       
    23     
       
    24     return false;
       
    25   }
    11   
    26   
    12   load_component(['l10n', 'messagebox', 'fadefilter', 'template-compiler', 'jquery', 'jquery-ui', 'autofill']);
    27   load_component(['l10n', 'messagebox', 'fadefilter', 'template-compiler', 'jquery', 'jquery-ui', 'autofill']);
    13   
    28   
    14   if(!page_id || !namespace)
    29   if(!page_id || !namespace)
    15   {
    30   {