MDL-36023 AJAX Fix reference to chooserdiaogue jumplink
authorAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Tue, 6 Nov 2012 10:16:28 +0000 (10:16 +0000)
committerAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Tue, 6 Nov 2012 10:16:28 +0000 (10:16 +0000)
course/yui/modchooser/modchooser.js

index f87a5ec..28b9081 100644 (file)
@@ -28,8 +28,6 @@ YUI.add('moodle-course-modchooser', function(Y) {
             };
             this.setup_chooser_dialogue(dialogue, header, params);
 
             };
             this.setup_chooser_dialogue(dialogue, header, params);
 
-            this.jumplink = this.container.one('#jump');
-
             // Initialize existing sections and register for dynamically created sections
             this.setup_for_section();
             M.course.coursebase.register_module(this);
             // Initialize existing sections and register for dynamically created sections
             this.setup_for_section();
             M.course.coursebase.register_module(this);