Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1800

navbar.extend does not check for missing toolbar

    XMLWordPrintable

    Details

      Description

      When creating a theme based on light that moves the toolbar out of the navbar and manages the collapsing of the tools itself, the navbar.extend functions still tries to extend the tools when optimizing the navbar layout. The attached patch solves this problem by checking if the dest param of the navbar.extend function contains an element (and isn't an empty jquery selection) before trying to move the tool to it.

      Affected file:
      src/main/webapp/static/js/jquery/openolat/jquery.navbar.js

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              d.haag Daniel Haag
              Tester:
              Daniel Haag
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m