Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
4ae70a06
Commit
4ae70a06
authored
Jan 29, 2014
by
Christos Stavrakakis
Browse files
ui: Check `is_snapshot` image attribute to identify snapshot images
parent
352512be
Changes
1
Show whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/ui/static/snf/js/glance_models.js
View file @
4ae70a06
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
},
},
is_snapshot
:
function
()
{
is_snapshot
:
function
()
{
return
this
.
get
(
'
checksum
'
).
indexOf
(
'
arch
'
)
===
0
;
return
this
.
get
(
'
is_snapshot
'
)
;
},
},
display_size
:
function
()
{
display_size
:
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment