Hi all,

   I was working on adding several check-boxes on the Repositories/Sync page 
when it turned out that the check-boxes were somehow disabled.

    Channels -> Manage Software channels -> Some Custom Channael -> 
Repositories -> Sync
    https://sw.redhat.com/rhn/channels/manage/Sync.do?cid=102
    /WEB-INF/pages/channel/manage/syncrepos.jsp

It seems it is related to the following Java Script: 

<script type="text/javascript">
  $(function() {
    function toggleStatus() {
      var status = $('fieldset#recurring-picker-${picker.name} 
input[type="radio"]:checked').val();
      $('fieldset#recurring-picker-${picker.name} 
.recurring-options[data-status!="' + status + 
'"][data-picker-name="${picker.name}"]').find('select, input').prop('disabled', 
true);
      $('fieldset#recurring-picker-${picker.name} 
.recurring-options[data-status="' + status + 
'"][data-picker-name="${picker.name}"]').find('select, input').prop('disabled', 
false);
    }
    $('fieldset#recurring-picker-${picker.name} 
input[type="radio"]').click(function() {
        toggleStatus();
    });
    toggleStatus();
 });
</script>


from /WEB-INF/pages/common/fragments/repeat-task-picker.jspf

Dimi


-- 
Dimitar Yordanov
Systems Management, Satellite QA

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to