Commit 233973ce authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Converting data to store inside ThumbList.

Something relies on this store... didn't really figure out what.
For example opening a video caused an exception.
parent ed951bbb
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -43,6 +43,11 @@ Ext.define('Docs.view.ThumbList', {
            c.id = 'sample-' + i;
        });

        this.store = Ext.create('Ext.data.JsonStore', {
            fields: ['id', 'title', 'items'],
            data: this.data
        });

        // Place itemTpl inside main template
        this.tpl = new Ext.XTemplate(Ext.Array.flatten([
            '<div id="sample-ct">',