\r
initialize: (options) ->\r
@body = options.body\r
- @items = @filer().items\r
+ @collection = @filer().list_result\r
+ _this = this\r
+ @collection.fetch().done ->\r
+ _this.render()\r
\r
render: () ->\r
_this = this\r
- _.each @items, (item) ->\r
+ _.each @collection.models, (item) ->\r
c = _this.file_item_class()\r
file_item = new c({'file_body': _this, 'item': item})\r
_this.$el.append(file_item.render().el)\r