includes/clientside/static/editor.js
changeset 779 609e35845ec3
parent 762 e346a3106a4e
child 823 4596c40aaa94
equal deleted inserted replaced
778:57ce13805b6f 779:609e35845ec3
    10 {
    10 {
    11   if ( KILL_SWITCH )
    11   if ( KILL_SWITCH )
    12     return true;
    12     return true;
    13   if ( editor_open )
    13   if ( editor_open )
    14     return true;
    14     return true;
    15   load_component('l10n');
    15   load_component(['l10n', 'template-compiler', 'messagebox']);
    16   load_component('template-compiler');
       
    17   load_component('messagebox');
       
    18   selectButtonMinor('edit');
    16   selectButtonMinor('edit');
    19   selectButtonMajor('article');
    17   selectButtonMajor('article');
    20   setAjaxLoading();
    18   setAjaxLoading();
    21   
    19   
    22   var rev_id_uri = ( revid ) ? '&revid=' + revid : '';
    20   var rev_id_uri = ( revid ) ? '&revid=' + revid : '';