equal
deleted
inserted
replaced
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 |
11 |
12 load_component('l10n'); |
12 load_component(['l10n', 'messagebox', 'fadefilter', 'template-compiler', 'autofill', 'jquery', 'jquery-ui']); |
13 load_component('messagebox'); |
|
14 load_component('fadefilter'); |
|
15 load_component('template-compiler'); |
|
16 load_component('autofill'); |
|
17 |
13 |
18 if(!page_id || !namespace) |
14 if(!page_id || !namespace) |
19 { |
15 { |
20 var data = strToPageID(title); |
16 var data = strToPageID(title); |
21 var page_id = data[0]; |
17 var page_id = data[0]; |
56 return false; |
52 return false; |
57 } |
53 } |
58 |
54 |
59 function ajaxOpenDirectACLRule(rule_id) |
55 function ajaxOpenDirectACLRule(rule_id) |
60 { |
56 { |
61 load_component('l10n'); |
57 load_component(['l10n', 'messagebox', 'fadefilter', 'template-compiler', 'autofill']); |
62 load_component('messagebox'); |
|
63 load_component('fadefilter'); |
|
64 load_component('template-compiler'); |
|
65 load_component('autofill'); |
|
66 |
58 |
67 var params = { |
59 var params = { |
68 target_id: rule_id, |
60 target_id: rule_id, |
69 mode: 'seltarget_id' |
61 mode: 'seltarget_id' |
70 }; |
62 }; |