Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-13850

In KRMS Agenda requiredAlerts.js JQuery won't return null so != null checks are extra and unneeded.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Quality Assurance
    • Labels:
    • Rice Team:
      QA

      Description

      Execution isn't affected. Update to:

      function requiredsSet() {
          var message = '';
          if (jq('.agenda-namespace').val() == '') {
            message =  message + 'Please select a Namespace.\n';
          }
          if (jq('.agenda-name').val() == '') {
            message = message + 'Please enter the Agenda Name.\n';
          }
          if (jq('.agenda-context').val() == '') {
            message = message + 'Please Enter or Lookup (click the magnifying glass icon) the Agenda Context.\n';
          }
          return message;
      }
      

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              eghm-kuali-m Erik Meade
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: