Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40010

Javascript toogle Group Submission is not working

    Details

    • 12 status:
      Resolved
    • Test Plan:
      Hide

      1. Click Assignment
      2. Add a new assignment
      3. Click "Group Submission - One submission per group"
      4. "Display to site" didn't change to "Display only to selected groups"

      Show
      1. Click Assignment 2. Add a new assignment 3. Click "Group Submission - One submission per group" 4. "Display to site" didn't change to "Display only to selected groups"

      Description

      When you click "Group Submission the javascript is not working because
      param 'group' in

      <input id="new_assignment_group_submit" name="new_assignment_additional_options" type="radio" value="group" onclick="ASN.toggleAddOptions('group');">

      would be 'GROUP', according to Line 635 assignment.js

      ASN.toggleAddOptions = function(checked){
      //Disable the peer review area and renable the site property unless this is selected 
      var section = document.getElementById("peerAssessmentOptions");
      section.style.display="none";
      ASN.resizeFrame('shrink');
      $("#site").prop("disabled", false);
      //When Peer Assement options is selected
      if(checked == "peerreview"){
      section.style.display="block";
      ASN.resizeFrame('grow');
      //When Group Submission is checked
      }else if (checked=="GROUP"){
      $("#site").prop("disabled", true);
      $("#groups").prop("checked", true).trigger("click");
      }
      }

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                eduardorey Eduardo Rey Jara
                Reporter:
                jesusmmp Jesus Maria Mendez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code