Commit 98b4b472 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou Committed by Christos Stavrakakis
Browse files

cyclades ui: Revert glance response parsing

Refs: #3768
parent 9d497e08
......@@ -71,6 +71,9 @@
// custom glance api parser
parse: function (resp, xhr) {
if (_.isArray(resp)) {
resp = {'images': resp };
}
return models.GlanceImages.__super__.parse.call(this, resp, xhr);
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment