From: Jan Provaznik <[email protected]>

https://bugzilla.redhat.com/show_bug.cgi?id=641938

Software selection: when whole group is checked and user unchecks individual
packages, these packages are not added. Note that patch fixes this bug only for
JS version - I think that when JS is off, user should still have chance to
select whole group (without JS its not possible simply to select group except
individual packages)
---
 src/app/views/templates/new.haml |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/app/views/templates/new.haml b/src/app/views/templates/new.haml
index 7f12b13..674eeca 100644
--- a/src/app/views/templates/new.haml
+++ b/src/app/views/templates/new.haml
@@ -20,7 +20,6 @@
           var url = '#{url_for :action => 'managed_content'}';
           var data = {
             'selected_packages[]': 
$("input:checked[name='packages[]']").map(function() {return 
$(this).val()}).get(),
-            'selected_groups[]': 
$("input:checked[name='groups[]']").map(function() {return 
$(this).val()}).get(),
             'template_id'  : '#[email protected]? ? nil : @id}'
           };
           $content_container.load(url, data, function(){
@@ -37,7 +36,6 @@
           e.preventDefault();
           var data = {
             'selected_packages[]': 
$("input[name='selected_packages[]']").map(function() {return 
$(this).val()}).get(),
-            'selected_groups[]': 
$("input:checked[name='groups[]']").map(function() {return 
$(this).val()}).get(),
             'template_id'  : '#[email protected]? ? nil : @id}'
           }
           var url = '#{url_for :action => 'managed_content'}';
-- 
1.7.2.3

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to