From 845ef47ccd129752d87d3fc610dc683fee2a7480 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 28b90815d9f..f7ff2c67f48 100644 --- a/course/yui/modchooser/modchooser.js +++ b/course/yui/modchooser/modchooser.js @@ -152,6 +152,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 55085306c06..9314951e56a 100644 --- a/theme/base/style/core.css +++ b/theme/base/style/core.css @@ -899,7 +899,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; @@ -973,7 +972,6 @@ sup {vertical-align: super;} background-color: #FFFFFF; overflow-x: hidden; overflow-y: auto; - max-height: 550px; line-height: 2em; }