Merge branch 'MDL-37566-m24' of git://github.com/andrewnicols/moodle into MOODLE_24_STABLE
This commit is contained in:
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user