Revision 213a8396 snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_ips_view.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_ips_view.js | ||
---|---|---|
47 | 47 |
|
48 | 48 |
vm_style: function() { |
49 | 49 |
var style = "background-image: url('{0}')"; |
50 |
if (!this.model.get('vm')) { return } |
|
50 | 51 |
return style.format(this.get_vm_icon_path(this.model.get('vm'), |
51 | 52 |
'medium')); |
52 | 53 |
}, |
Also available in: Unified diff