135 |
return; |
return; |
136 |
} |
} |
137 |
|
|
138 |
|
show_working(); |
139 |
|
|
140 |
var args = '?template_filename='+template_filename; |
var args = '?template_filename='+template_filename; |
141 |
|
|
142 |
new Ajax.Updater( 'div_template', url+'template'+args, { |
new Ajax.Updater( 'div_template', url+'template'+args, { |
143 |
asynchronous: 1, |
asynchronous: 1, |
144 |
onLoading: function(request) { |
onLoading: function(request) { |
145 |
loading.template = 1; |
loading.template = 1; |
|
show_working(); |
|
146 |
Logger.info('load_template.onLoading: '+template_filename); |
Logger.info('load_template.onLoading: '+template_filename); |
147 |
}, |
}, |
148 |
onLoaded: function(request) { |
onLoaded: function(request) { |
161 |
return; |
return; |
162 |
} |
} |
163 |
|
|
164 |
|
show_working(); |
165 |
|
|
166 |
new Ajax.Updater( 'div_css', url+'css', { |
new Ajax.Updater( 'div_css', url+'css', { |
167 |
asynchronous: 1, |
asynchronous: 1, |
168 |
onLoading: function(request) { |
onLoading: function(request) { |
169 |
loading.css = 1; |
loading.css = 1; |
|
show_working(); |
|
170 |
Logger.info('load_css.onLoading: '+css_filename); |
Logger.info('load_css.onLoading: '+css_filename); |
171 |
}, |
}, |
172 |
onLoaded: function(request) { |
onLoaded: function(request) { |
178 |
}; |
}; |
179 |
|
|
180 |
function reload_css() { |
function reload_css() { |
181 |
Logger.error('reload_css is not yet implemented!'); |
|
182 |
|
css_rnd++; |
183 |
|
Logger.info('loading user.css?'+css_rnd); |
184 |
|
$('user_css_link').href = 'user.css?'+css_rnd; |
185 |
|
|
186 |
return false; |
return false; |
187 |
} |
} |
188 |
|
|