MDL-46240 atto_collapse: fix icon url
authorDan Poltawski <dan@moodle.com>
Fri, 4 Jul 2014 13:33:39 +0000 (14:33 +0100)
committerDan Poltawski <dan@moodle.com>
Fri, 4 Jul 2014 13:33:39 +0000 (14:33 +0100)
lib/editor/atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button-debug.js
lib/editor/atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button-min.js
lib/editor/atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button.js
lib/editor/atto/plugins/collapse/yui/src/button/js/button.js

index c3740bf..848c5f0 100644 (file)
Binary files a/lib/editor/atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button-debug.js and b/lib/editor/atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button-debug.js differ
index 5098939..f67c8b6 100644 (file)
Binary files a/lib/editor/atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button-min.js and b/lib/editor/atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button-min.js differ
index ee97f23..d4c0e9f 100644 (file)
Binary files a/lib/editor/atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button.js and b/lib/editor/atto/plugins/collapse/yui/build/moodle-atto_collapse-button/moodle-atto_collapse-button.js differ
index 0576996..c00b9a8 100644 (file)
@@ -53,7 +53,8 @@ Y.namespace('M.atto_collapse').Button = Y.Base.create('button', Y.M.editor_atto.
         }
 
         var button = this.addButton({
-            icon: M.util.image_url('icon', PLUGINNAME),
+            icon: 'icon',
+            iconComponent: PLUGINNAME,
             callback: this._toggle
         });