equal
deleted
inserted
replaced
1156 return false; |
1156 return false; |
1157 } |
1157 } |
1158 var loc = makeUrlNS('Special', 'Administration', 'module=' + namespace_list['Admin'] + 'UserManager&src=get&user=' + ajaxEscape(username)); |
1158 var loc = makeUrlNS('Special', 'Administration', 'module=' + namespace_list['Admin'] + 'UserManager&src=get&user=' + ajaxEscape(username)); |
1159 window.location = loc; |
1159 window.location = loc; |
1160 } |
1160 } |
|
1161 |
|
1162 window.ajaxDynamicReauth = function(adminpage) |
|
1163 { |
|
1164 var old_sid = ENANO_SID; |
|
1165 var targetpage = adminpage; |
|
1166 ajaxLogonInit(function(k) |
|
1167 { |
|
1168 var body = document.getElementsByTagName('body')[0]; |
|
1169 var replace = new RegExp(old_sid, 'g'); |
|
1170 body.innerHTML = body.innerHTML.replace(replace, k); |
|
1171 ENANO_SID = k; |
|
1172 if ( targetpage ) |
|
1173 { |
|
1174 mb_current_obj.destroy(); |
|
1175 ajaxPage(targetpage); |
|
1176 } |
|
1177 }, USER_LEVEL_ADMIN); |
|
1178 ajaxLoginShowFriendlyError({ |
|
1179 error_code: 'admin_session_timed_out', |
|
1180 respawn_info: {} |
|
1181 }); |
|
1182 } |