MDL-32279 glossary filter: take rid of unused courseid variable in yui module.
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 14 Jun 2012 17:51:35 +0000 (19:51 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 14 Jun 2012 18:08:07 +0000 (20:08 +0200)
filter/glossary/yui/autolinker/autolinker.js

index e9af017..18677af 100644 (file)
@@ -5,7 +5,6 @@ YUI.add('moodle-filter_glossary-autolinker', function(Y) {
         POPUPNAME = 'name',
         POPUPOPTIONS = 'options',
         TITLE = 'title',
-        COURSEID = 'courseid',
         WIDTH = 'width',
         HEIGHT = 'height',
         MENUBAR = 'menubar',
@@ -122,8 +121,7 @@ YUI.add('moodle-filter_glossary-autolinker', function(Y) {
             status : {value : true},
             directories : {value : false},
             fullscreen : {value : false},
-            dependent : {value : true},
-            courseid : {value : 1}
+            dependent : {value : true}
         }
     });