Revision 580c3b9b

b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_create_view.js
316 316
        },
317 317
        
318 318
        display_warning_for_image: function(image) {
319
          if (!image.is_system_image() && !image.owned_by(synnefo.user)) {
319
          if (image && !image.is_system_image() && !image.owned_by(synnefo.user)) {
320 320
            $(".create-vm .image-warning").show();
321 321
          } else {
322 322
            $(".create-vm .image-warning").hide();

Also available in: Unified diff