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

Missing scrollbars in windowed LTI content

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.7
    • Fix Version/s: 10.3.8
    • Component/s: LTI runtime
    • Labels:
      None

      Description

      When opening LTI content in a new window without defining specific height and width (auto), no scrollbars are displayed. This issue is similar to https://jira.openolat.org/browse/OO-870.
      This fixes that:

      diff --git a/src/main/java/org/olat/course/nodes/basiclti/_content/runPopup.html b/src/main/java/org/olat/course/nodes/basiclti/_content/runPopup.html
      --- a/src/main/java/org/olat/course/nodes/basiclti/_content/runPopup.html
      +++ b/src/main/java/org/olat/course/nodes/basiclti/_content/runPopup.html
      @@ -1,7 +1,7 @@
       <div class="o_iframedisplay">
       	<script type="text/javascript">
       	/* <![CDATA[ */ 
      -		window.open("${mapperUri}?$r.uuid", "_win_$sourcedId", "status=1,toolbar=1,location=1,menubar=1,resizable=1#if($width!='auto'),width=${width}#end #if($height!='auto'),height=${height}#{end}");             	             
      +		window.open("${mapperUri}?$r.uuid", "_win_$sourcedId", "status=1,toolbar=1,location=1,menubar=1,resizable=1, scrollbars=yes#if($width!='auto'),width=${width}#end #if($height!='auto'),height=${height}#{end}");             	             
       	/* ]]> */
       	</script>
       </div>
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            stephan Stephan Clemenz
            Tester:
            Stephan Clemenz
            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 - 15 minutes
                15m