Uploaded image for project: 'UI Commons Module '
  1. UI Commons Module
  2. UICM-88

Incorrect instance of quotation mark in coded-or-free-text-answer.js file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 2.19.0

    Description

      The in-line comment explains that if the term ends with a quotation then it should trim the term to remove the quotation. However, the second if-statement is written incorrectly and as a result, the code following the if-statement is unreachable. 

      Solution: "term.slice(term.length-1, 1)" should be changed to "term.slice(term.length-1, term.length)"

       

       

       

       

      Gliffy Diagrams

        Attachments

          Activity

            People

              ndacyayisenga TAYEBWA NOAH
              davisbri Briona Davis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: