[Ovirt-devel] [PATCH server] Stage of one of tree conversions to pluggable widget.
Scott Seago
sseago at redhat.com
Mon Oct 27 18:50:25 UTC 2008
Jason Guiditta wrote:
> This patch includes the new pluggable tree widget code and
> conversion of Move popups for Hardware pools (hosts and
> storage). Simplified call to move so it returns an object
> which is used to build the tree (no extra ajax call anymore).
> The json_tree_internal method will be going away next patch,
> can't get rid of it yet because some Smart Pool stuff depends
> on it.
>
> Fixed minor bug in Pool.full_set_nested causing 'selected'
> never to be set. Also added to this method a 'type' option
> to filter results by pool type.
>
> Signed-off-by: Jason Guiditta <jguiditt at redhat.com>
> ---
> src/app/controllers/hardware_controller.rb | 4 ++
> src/app/models/pool.rb | 7 +++-
> src/app/views/hardware/move.rhtml | 60 +++++++++++++++-----------
> src/app/views/layouts/_tree.rhtml | 9 +---
> src/app/views/layouts/redux.rhtml | 3 +
> src/public/javascripts/ovirt.tree.js | 64 +++++++++++++++++++++++++++-
> src/public/stylesheets/ovirt-tree/tree.css | 7 +++-
> 7 files changed, 119 insertions(+), 35 deletions(-)
>
ACK
Works for me
Scott
More information about the ovirt-devel
mailing list