jo
jo copied to clipboard
Bug: only last joFooter is ok, others are emplty
For example, I have an object with elements - here I am making exemplars of elements and subscribe for theirs events.
var tabBar = new joTabBar([
{label: ' Account'},
{label: ' Settings'} no settings page yet
]);
var elements = {
'mainPageFooter' : new joFooter(tabBar),
'anotherPageFooter' : new joFooter([someButton, tabBar]),
};
Now if I willpush joCard which contains elements['anotherPageFooter' ] to stack- allwill be ok. But if I will am push joCard with mainPageFooter the joFooter element will be empty.
same problem when using stack.pop() - previous pages have empty joFooter. So last joFooter rendering empty joFooters which created before.