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

Resources tool's "add details" link and missing "delete" button when adding multiple folders and links from the Home tab

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 12.0
    • Fix Version/s: 19.0
    • Component/s: Content
    • Labels:
      None
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Steps:

      • log in as a non-admin user
      • From the Home tab
      • Open the Resources Tool
      • Right click on Actions and select Create Folder or Web Links
      • Click on "Add another folder" or "Add another link"
      • A new row will appear to allow you to create another item
      • Try clicking on the "Add details for this item" link for the NEW row... nothing happens
      • the delete button is not rendered

      This problem only seems to happen when adding more folders / links from the "Home" tab
      It does not happen when doing so from a "Site" tab

      Also, I suspect the problem is happening because when you click "Add another folder" a JS error occurs:

      sakai.resource.type.helper.helper:7880 Uncaught TypeError: Cannot read property 'classList' of null
          at setupDatePickers (sakai.resource.type.helper.helper:7880)
          at addFileInput (sakai.resource.type.helper.helper:8169)
          at HTMLAnchorElement.onclick (sakai.resource.type.helper.helper:7713)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  austinUH Austin
                  Reporter:
                  austinUH Austin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code