Revision a020e99e snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_create_view.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_create_view.js | ||
---|---|---|
212 | 212 |
} else { |
213 | 213 |
} |
214 | 214 |
}) |
215 |
|
|
216 |
$(".image-warning .confirm").bind('click', function(){ |
|
217 |
$(".image-warning").hide(); |
|
218 |
$(".create-controls").show(); |
|
219 |
}) |
|
215 | 220 |
}, |
216 | 221 |
|
217 | 222 |
update_images: function(images) { |
... | ... | |
318 | 323 |
display_warning_for_image: function(image) { |
319 | 324 |
if (image && !image.is_system_image() && !image.owned_by(synnefo.user)) { |
320 | 325 |
$(".create-vm .image-warning").show(); |
326 |
$(".create-controls").hide(); |
|
321 | 327 |
} else { |
322 | 328 |
$(".create-vm .image-warning").hide(); |
329 |
$(".create-controls").show(); |
|
323 | 330 |
} |
324 | 331 |
}, |
325 | 332 |
|
Also available in: Unified diff