On Thu, 2010-06-03 at 23:49 +0200, [email protected] wrote: > From: jenik <[email protected]> > > --- > src/app/views/image_descriptor/_software.haml | 3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/src/app/views/image_descriptor/_software.haml > b/src/app/views/image_descriptor/_software.haml > index 57245c1..21f4fb5 100644 > --- a/src/app/views/image_descriptor/_software.haml > +++ b/src/app/views/image_descriptor/_software.haml > @@ -10,7 +10,6 @@ > // when JS is enabled, hide the Dashboard content -- it'll be loaded > // by jquery UI tab using ajax > $("#dashboard-content").hide(); > - $("#selected_packages").treeview({collapsed: true}); > #...@image_descriptor.xml.packages.map {|group, pkgs| > js_add_group_cmd(group, pkgs)}.join("\n")} > }); > function remove_group(ev) { > @@ -33,12 +32,10 @@ > if (!parent) parent = $("#selected_packages"); > if (parent.find(".pkgname").filter(function() {return $(this).text() > == pkgname}).length == 0) { > var node = $("<li><input type=checkbox name='xml[packages][]' > value='" + group + '#' + pkgname + "' checked=true><span class='pkgname'>" + > pkgname + "</span></li>").appendTo(parent); > - $("#selected_packages").treeview({add: node}); > } > }; > function add_group(name) { > var group = $("<li><span class='group'>" + name + "</span><span > class='select' > onclick='remove_group(event)'>Remove</span><ul></ul></li>").appendTo("#selected_packages"); > - $("#selected_packages").treeview({add: group}); > return group.find("ul"); > }; > function select_group(opts) {
ACK, I can now see my selections on the right side _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
