From c2bc5a70087a21a4c05cd2a13afdf884e61464c6 Mon Sep 17 00:00:00 2001 From: Jerome Mouneyrac Date: Tue, 8 Jan 2013 16:39:55 +0800 Subject: [PATCH] MDL-37194 activity chooser displays entire list of default activities/resources --- course/yui/modchooser/modchooser.js | 3 +++ theme/base/style/core.css | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/course/yui/modchooser/modchooser.js b/course/yui/modchooser/modchooser.js index cdc93d0772f..10fddedd122 100644 --- a/course/yui/modchooser/modchooser.js +++ b/course/yui/modchooser/modchooser.js @@ -150,6 +150,9 @@ YUI.add('moodle-course-modchooser', function(Y) { { NAME : MODCHOOSERNAME, ATTRS : { + maxheight : { + value : 800 + } } }); M.course = M.course || {}; diff --git a/theme/base/style/core.css b/theme/base/style/core.css index c345d44ef4a..65f6a271949 100644 --- a/theme/base/style/core.css +++ b/theme/base/style/core.css @@ -942,7 +942,6 @@ sup {vertical-align: super;} /* Only set these options if we're showing the js container */ .jsenabled .choosercontainer #chooseform .alloptions { - max-height: 550px; overflow-x: hidden; overflow-y: auto; max-width: 20.3em; @@ -1037,7 +1036,6 @@ sup {vertical-align: super;} background-color: #FFFFFF; overflow-x: hidden; overflow-y: auto; - max-height: 550px; line-height: 2em; }