Merge branch 'MDL-37413-m23' of git://github.com/andrewnicols/moodle into MOODLE_23_S...
authorDan Poltawski <dan@moodle.com>
Tue, 15 Jan 2013 02:58:47 +0000 (10:58 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 15 Jan 2013 02:58:47 +0000 (10:58 +0800)
lib/yui/chooserdialogue/chooserdialogue.js

index c8bd732..03a19cf 100644 (file)
@@ -31,7 +31,7 @@ YUI.add('moodle-core-chooserdialogue', function(Y) {
         },
 
         prepare_chooser : function () {
-            if (this.overlay) {
+            if (this.panel) {
                 return;
             }