Commit e707672d authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Prompt custom image guide reference if no images available

parent 8415fcc0
......@@ -278,6 +278,11 @@
this.reset_images();
this.select_image(this.selected_image);
this.hide_list_loading();
$(".custom-image-help").hide();
if (this.selected_type == 'personal' && !images.length) {
$(".custom-image-help").show();
}
},
select_type: function(type) {
......@@ -290,11 +295,6 @@
_.bind(this.hide_loading_view, this)
);
$(".custom-image-help").hide();
if (type == 'personal') {
$(".custom-image-help").show();
}
this.update_layout_for_type(type);
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment