Don't update count on tables without a summary row
The horizon.tabs javascript was updating the last row of any <table>
in the tab when the focus was changed to a different tab, stomping
over the last row of the table.
This commit limits updates to tables with the .datatable class,
and adds a class to the updated <span> in affected templates
so it can be selected a little more unambiguously.
Reviewed: https:/ /review. openstack. org/19603 github. com/openstack/ horizon/ commit/ 4632aa58ae9d187 4f559031f592e28 73c0fb4f64
Committed: http://
Submitter: Jenkins
Branch: master
commit 4632aa58ae9d187 4f559031f592e28 73c0fb4f64
Author: Kieran Spear <email address hidden>
Date: Mon Jan 14 14:35:18 2013 +1100
Don't update count on tables without a summary row
The horizon.tabs javascript was updating the last row of any <table>
in the tab when the focus was changed to a different tab, stomping
over the last row of the table.
This commit limits updates to tables with the .datatable class,
and adds a class to the updated <span> in affected templates
so it can be selected a little more unambiguously.
Fixes bug #1080513.
Change-Id: I1b778bdc77887d cf540c96c2ab8be 239bc13258c