X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=lib%2Fenyo-x%2Fsource%2Fviews%2Ftransaction_list_container.js;h=7e3518e837b8117f778a0ee68cba15fa831db04a;hb=78cafc1dcc6c67f29dc61d5c88ee91d99cbb0ed6;hp=2116df4d124e1e7d508a3f50939e7b690d2ef5c6;hpb=0c68eaab43ffa6cba0cc6629d0145a68225a3550;p=xtuple diff --git a/lib/enyo-x/source/views/transaction_list_container.js b/lib/enyo-x/source/views/transaction_list_container.js index 2116df4d1..7e3518e83 100644 --- a/lib/enyo-x/source/views/transaction_list_container.js +++ b/lib/enyo-x/source/views/transaction_list_container.js @@ -227,7 +227,8 @@ trailing:true, white:true, strict:false*/ */ setList: function (options) { var component, - list = options.list; + contentHeader = this.$.contentHeader, + list = options.list; component = this.createComponent({ name: "list", @@ -248,6 +249,12 @@ trailing:true, white:true, strict:false*/ memoizeEnabled: false, fit: true }); + + contentHeader.destroyClientControls(); + if (component.headerComponents) { + contentHeader.createComponents(component.headerComponents); + contentHeader.render(); + } } this.init = true;