Skip to content
Browse files

Merge branch 'MDL-37566-m24' of git://github.com/andrewnicols/moodle …

…into MOODLE_24_STABLE
  • Loading branch information...
2 parents 747e16f + 3a64e6e commit 4ce7de34ca4ec8e8eaaf6366a4ca852c1db106da @stronk7 stronk7 committed Feb 5, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/yui/chooserdialogue/chooserdialogue.js
View
3 lib/yui/chooserdialogue/chooserdialogue.js
@@ -238,8 +238,7 @@ YUI.add('moodle-core-chooserdialogue', function(Y) {
// new max-height
var totalheight = newheight;
newheight = newheight - (15 + 15 + 40 + 40);
- dialogue.setStyle('max-height', newheight + 'px');
- dialogue.setStyle('height', newheight + 'px');
+ dialogue.setStyle('maxHeight', newheight + 'px');
// Re-calculate the location now that we've changed the size
var dialoguetop = Math.max(12, ((winheight - totalheight) / 2)) + offsettop;

0 comments on commit 4ce7de3

Please sign in to comment.
Something went wrong with that request. Please try again.