MDL-37413 Use correct variable in chooserdialogue
authorAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Tue, 8 Jan 2013 08:26:59 +0000 (08:26 +0000)
committerAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Fri, 11 Jan 2013 08:20:14 +0000 (08:20 +0000)
lib/yui/chooserdialogue/chooserdialogue.js

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