projects
/
xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
0c68eaa
)
Merge pull request #1858 from shackbarth/1854
author
Greg Pazo
<gpazo@xtuple.com>
Mon, 29 Sep 2014 19:56:58 +0000
(15:56 -0400)
committer
Greg Pazo
<gpazo@xtuple.com>
Mon, 29 Sep 2014 19:56:58 +0000
(15:56 -0400)
allow headers on transaction lists
lib/enyo-x/source/views/transaction_list_container.js
patch
|
blob
|
history
diff --git
a/lib/enyo-x/source/views/transaction_list_container.js
b/lib/enyo-x/source/views/transaction_list_container.js
index
2116df4
..
7e3518e
100644
(file)
--- 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;