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

The Javascript functions for expanding/collapsing all tabs fail to execute without errors.

    Details

    • Type: Bug Fix
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Labels:
    • Rice Module:
      KNS
    • Application Requirement:
      Rice

      Description

      In core.js, there are two functions called "expandAllTab" and "collapseAllTab" that are responsible for handling clicks on the "expand all" and "collapse all" buttons. They rely on two other functions in core.js called "showTab" and "hideTab", which adjust the state of a single tab. The two latter functions rely on the existence of HTML page elements with names or ids of "tab-[tabKey]div", "tabStates([tabKey])", and "tag[tabKey]imageToggle", where [tabKey] is some text key used for identifying the HTML elements related to each tab. By viewing the source of a page with tabs on it (like an inquiry page), it can be seen that the buttons for showing/hiding an individual tab will pass in a string value to the "toggleTab" function in core.js, which then calls either "showTab" or "hideTab". However, the "expandAllTab" and "collapseAllTab" functions pass in numeric values to "showTab" and "hideTab" instead, which generates a Javascript error (since elements like "tab[number]-div" do not exist on the page) and hence forces the expand/collapse operation to be handled on the server side.

        Attachments

          Activity

          chagstrom Chad Hagstrom created issue -
          ewestfal Eric Westfall made changes -
          Field Original Value New Value
          Fix Version/s 1.1 [ 14190 ]
          Fix Version/s 1.0 [ 13481 ]
          ewestfal Eric Westfall made changes -
          Fix Version/s 1.1? [ 15811 ]
          Fix Version/s 1.1 [ 14190 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 65148 ] Copy of custom for rice [ 206693 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 206693 ] custom [ 216441 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 216441 ] Rice Workflow [ 226189 ]
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          ewestfal Eric Westfall made changes -
          Labels Old

            People

            • Assignee:
              Unassigned
              Reporter:
              chagstrom Chad Hagstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: