On 10/22/2010 01:18 PM, Jakub Steiner wrote:
> ---
> src/app/views/templates/content_selection.haml | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/src/app/views/templates/content_selection.haml
> b/src/app/views/templates/content_selection.haml
> index 931c7d6..174366b 100644
> --- a/src/app/views/templates/content_selection.haml
> +++ b/src/app/views/templates/content_selection.haml
> @@ -31,6 +31,15 @@
> $('#package_selection_list').hide();
> $('#add_software_button').show();
> });
> + //select all packages in collection
> + $(".softwaregroups").click(function() {
> + console.log($(this).attr('checked'));
> + if ($(this).attr("checked") === true) {
> +
> $(this).parent().siblings("ul").find("input[type='checkbox']").attr("checked","checked");
> + } else {
> +
> $(this).parent().siblings("ul").find("input[type='checkbox']").removeAttr("checked");
> + }
> + });
> });
> });
> });
ACK, if you don't mind I will merge this patch with other changes
(because this patch is in conflict with pagination patch I sent meantime
and it's much easier to apply this patch on top of the other one).
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel