Merge branch 'wip-MDL-33482-master' of git://github.com/danpoltawski/moodle

This commit is contained in:
Dan Poltawski 2012-06-07 18:11:10 +08:00
commit 620ecd38d2
5 changed files with 91 additions and 43 deletions

View file

@ -45,8 +45,11 @@ YUI.add('moodle-core-chooserdialogue', function(Y) {
this.overlay.render();
// Set useful links
this.container = this.overlay.get('boundingBox').one('#choosercontainer');
this.container = this.overlay.get('boundingBox').one('.choosercontainer');
this.options = this.container.all('.option input[type=radio]');
// Add the chooserdialogue class to the container for styling
this.overlay.get('boundingBox').addClass('chooserdialogue');
},
/**