includes/clientside/static/autofill.js
changeset 779 609e35845ec3
parent 747 cffe13960330
child 787 b0d0d429d8cf
equal deleted inserted replaced
778:57ce13805b6f 779:609e35845ec3
   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     }