Merge branch 'MDL-37566-m23' of git://github.com/andrewnicols/moodle into MOODLE_23_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2013-02-05 01:14:27 +01:00
+1 -2
View File
@@ -237,8 +237,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;