Revert "MDL-28284 don't load filepicker module for every page"
authorSam Hemelryk <sam@moodle.com>
Wed, 3 Aug 2011 10:20:01 +0000 (18:20 +0800)
committerSam Hemelryk <sam@moodle.com>
Wed, 3 Aug 2011 10:20:01 +0000 (18:20 +0800)
lib/outputrequirementslib.php

index 8cb253e..6c7d0e4 100644 (file)
@@ -198,6 +198,7 @@ class page_requirements_manager {
             )
         );
         $this->add_yui2_modules(); // adds loading info for all YUI2 modules
+        $this->js_module($this->find_module('core_filepicker'));
         $this->js_module($this->find_module('core_dock'));
 
         // YUI3 init code