Revision c16d0b2c

b/snf-cyclades-app/synnefo/ui/static/snf/js/glance_models.js
87 87
            if (img.properties) {
88 88
                img.metadata = {};
89 89
                img.metadata.values = img.properties;
90
            } else {
91
                if (!img.metadata) {
92
                    img.metadata = {values:{}};
93
                }
90 94
            }
91 95

  
92 96
            // fixes plankton regression (returns lowercase meta keys)

Also available in: Unified diff