equal
deleted
inserted
replaced
817 window.location = loc; |
817 window.location = loc; |
818 }, 9); |
818 }, 9); |
819 return false; |
819 return false; |
820 } |
820 } |
821 var loc = makeUrlNS('Special', 'Administration', 'module=' + namespace_list['Admin'] + 'PageManager&source=ajax&page_id=' + ajaxEscape(title)); |
821 var loc = makeUrlNS('Special', 'Administration', 'module=' + namespace_list['Admin'] + 'PageManager&source=ajax&page_id=' + ajaxEscape(title)); |
|
822 window.location = loc; |
|
823 } |
|
824 |
|
825 var navto_ns; |
|
826 var navto_pg; |
|
827 var navto_ul; |
|
828 |
|
829 function ajaxLoginNavTo(namespace, page_id, min_level) |
|
830 { |
|
831 // IE <6 pseudo-compatibility |
|
832 if ( KILL_SWITCH ) |
|
833 return true; |
|
834 navto_pg = page_id; |
|
835 navto_ns = namespace; |
|
836 navto_ul = min_level; |
|
837 if ( auth_level < min_level ) |
|
838 { |
|
839 ajaxPromptAdminAuth(function(k) { |
|
840 ENANO_SID = k; |
|
841 auth_level = navto_ul; |
|
842 var loc = makeUrlNS(navto_ns, navto_pg); |
|
843 if ( (ENANO_SID + ' ').length > 1 ) |
|
844 window.location = loc; |
|
845 }, min_level); |
|
846 return false; |
|
847 } |
|
848 var loc = makeUrlNS(navto_ns, navto_pg); |
822 window.location = loc; |
849 window.location = loc; |
823 } |
850 } |
824 |
851 |
825 function ajaxAdminUser(username) |
852 function ajaxAdminUser(username) |
826 { |
853 { |