equal
deleted
inserted
replaced
126 autofill_init_element(el, {}); |
126 autofill_init_element(el, {}); |
127 } |
127 } |
128 |
128 |
129 addOnloadHook(function() |
129 addOnloadHook(function() |
130 { |
130 { |
131 load_component('l10n'); |
131 load_component(['l10n', 'jquery', 'jquery-ui']); |
132 load_component('jquery'); |
|
133 load_component('jquery-ui'); |
|
134 |
132 |
135 if ( !window.jQuery ) |
133 if ( !window.jQuery ) |
136 { |
134 { |
137 throw('jQuery didn\'t load properly. Aborting auto-complete init.'); |
135 throw('jQuery didn\'t load properly. Aborting auto-complete init.'); |
138 } |
136 } |