MDL-41237 Atto: Add missing js method docs.
authorDamyon Wiese <damyon@moodle.com>
Tue, 10 Sep 2013 06:29:08 +0000 (14:29 +0800)
committerDamyon Wiese <damyon@moodle.com>
Tue, 10 Sep 2013 06:30:02 +0000 (14:30 +0800)
lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button-debug.js
lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button.js
lib/editor/atto/plugins/title/yui/src/button/js/button.js

index b78c2f6..641b0e5 100644 (file)
Binary files a/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button-debug.js and b/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button-debug.js differ
index b78c2f6..641b0e5 100644 (file)
Binary files a/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button.js and b/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button.js differ
index 8dc5909..d6241e4 100644 (file)
@@ -61,6 +61,12 @@ M.atto_title = M.atto_title || {
                                                   ]);
     },
 
+    /**
+     * Handle a choice from the menu (insert the node in the text editor matching elementid).
+     * @param event e - The event that triggered this.
+     * @param string elementid - The id of the editor
+     * @param string node - The html to insert
+     */
     change_title : function(e, elementid, node) {
         e.preventDefault();
         if (!M.editor_atto.is_active(elementid)) {
@@ -69,4 +75,3 @@ M.atto_title = M.atto_title || {
         document.execCommand('formatBlock', false, node);
     }
 };
-