[Ovirt-devel] [PATCH server] Fix smart pools in nav.

Scott Seago sseago at redhat.com
Thu Jan 29 20:33:05 UTC 2009


Jason Guiditta wrote:
> They were not updating when you added a new one because We were
> only recursing down through children if an element was not changed,
> rather than always if there were children. If I recall correctly,
> this was originally to save processing time, but with recent
> changes, it is no longer accurate.
>
> Also realized that tree_controller was not splitting properly based
> on name, so if you had a name with '-'s in it, it would always return
> as 'changed'. In addition, the 'smart root' never changes (at least by
> the user) so make state='unchanged'.
>
> Signed-off-by: Jason Guiditta <jguiditt at redhat.com>
> ---
>  src/app/controllers/tree_controller.rb |    3 ++-
>  src/public/javascripts/ovirt.tree.js   |    8 +++-----
>  2 files changed, 5 insertions(+), 6 deletions(-)
>
>   
ACK,
Works for me
Scott




More information about the ovirt-devel mailing list