Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-26064

"Scroll bottom" "Scroll top" links in Job invocation details are broken

XMLWordPrintable

    • No

      Description of problem:  
      After executing an "Ansible command" job the details page shows two links "scroll bottom" and "scroll top" but none of them works.

      How reproducible:
      Always

      Steps to Reproduce:

      1. Execute a "Remote Ansible Command" job
      2. Enter into the Job details page
      3. Click "Scroll to bottom" Link

      Actual behavior:
      Nothing happens

      Expected behavior:
      The page scrolls down.

      Proposed solution:
      The javascript code executed on the "a href" not longer works because content is not into "body" tag but into "rails-app-content" div. Replace current javascript code for something similar to below code should fix it:

      • "Scroll bottom" link.
        $('#rails-app-content').scrollTop($('#rails-app-content').prop("scrollHeight"))
      • The same way "Scroll top" link could read:
        $('#rails-app-content').scrollTop(0)

       

              rhn-support-pafernan Pablo Fernandez Rodriguez
              rhn-support-pafernan Pablo Fernandez Rodriguez
              Peter Ondrejka Peter Ondrejka
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: