equal
deleted
inserted
replaced
12 if ( editor_open ) |
12 if ( editor_open ) |
13 return true; |
13 return true; |
14 load_component('l10n'); |
14 load_component('l10n'); |
15 load_component('template-compiler'); |
15 load_component('template-compiler'); |
16 load_component('messagebox'); |
16 load_component('messagebox'); |
17 var rev_id_uri = ( revid ) ? '&revid=' + revid : ''; |
|
18 selectButtonMinor('edit'); |
17 selectButtonMinor('edit'); |
19 selectButtonMajor('article'); |
18 selectButtonMajor('article'); |
20 setAjaxLoading(); |
19 setAjaxLoading(); |
|
20 |
|
21 var rev_id_uri = ( revid ) ? '&revid=' + revid : ''; |
21 ajaxGet(stdAjaxPrefix + '&_mode=getsource' + rev_id_uri, function() |
22 ajaxGet(stdAjaxPrefix + '&_mode=getsource' + rev_id_uri, function() |
22 { |
23 { |
23 if ( ajax.readyState == 4 && ajax.status == 200 ) |
24 if ( ajax.readyState == 4 && ajax.status == 200 ) |
24 { |
25 { |
25 unsetAjaxLoading(); |
26 unsetAjaxLoading(); |