equal
deleted
inserted
replaced
151 * @param string Custom error message. If omitted, the default will be shown. |
151 * @param string Custom error message. If omitted, the default will be shown. |
152 */ |
152 */ |
153 |
153 |
154 function handle_invalid_json(response, customerror) |
154 function handle_invalid_json(response, customerror) |
155 { |
155 { |
156 load_component('messagebox'); |
156 load_component(['messagebox', 'jquery', 'jquery-ui', 'fadefilter', 'flyin', 'l10n']); |
157 load_component('jquery'); |
|
158 load_component('jquery-ui'); |
|
159 load_component('fadefilter'); |
|
160 load_component('flyin'); |
|
161 load_component('l10n'); |
|
162 |
157 |
163 darken(aclDisableTransitionFX, 70, 'invalidjsondarkener'); |
158 darken(aclDisableTransitionFX, 70, 'invalidjsondarkener'); |
164 |
159 |
165 var box = document.createElement('div'); |
160 var box = document.createElement('div'); |
166 var mainwin = document.createElement('div'); |
161 var mainwin = document.createElement('div'); |