Revision 2ee94f4c
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_create_view.js | ||
---|---|---|
278 | 278 |
this.reset_images(); |
279 | 279 |
this.select_image(this.selected_image); |
280 | 280 |
this.hide_list_loading(); |
281 |
$(".custom-image-help").hide(); |
|
282 |
if (this.selected_type == 'personal' && !images.length) { |
|
283 |
$(".custom-image-help").show(); |
|
284 |
} |
|
285 |
|
|
281 | 286 |
}, |
282 | 287 |
|
283 | 288 |
select_type: function(type) { |
... | ... | |
290 | 295 |
_.bind(this.hide_loading_view, this) |
291 | 296 |
); |
292 | 297 |
|
293 |
$(".custom-image-help").hide(); |
|
294 |
if (type == 'personal') { |
|
295 |
$(".custom-image-help").show(); |
|
296 |
} |
|
297 |
|
|
298 | 298 |
this.update_layout_for_type(type); |
299 | 299 |
}, |
300 | 300 |
|
Also available in: Unified diff