MDL-42805 dock: fixed {} appearing in undock icon title
authorSam Hemelryk <sam@moodle.com>
Mon, 11 Nov 2013 08:26:12 +0000 (16:26 +0800)
committerSam Hemelryk <sam@moodle.com>
Mon, 11 Nov 2013 08:26:12 +0000 (16:26 +0800)
lib/yui/build/moodle-core-dock/moodle-core-dock-debug.js
lib/yui/build/moodle-core-dock/moodle-core-dock-min.js
lib/yui/build/moodle-core-dock/moodle-core-dock.js
lib/yui/src/dock/js/block.js

index ca6f49d..1362dc3 100644 (file)
Binary files a/lib/yui/build/moodle-core-dock/moodle-core-dock-debug.js and b/lib/yui/build/moodle-core-dock/moodle-core-dock-debug.js differ
index ad5c54b..a1ab1de 100644 (file)
Binary files a/lib/yui/build/moodle-core-dock/moodle-core-dock-min.js and b/lib/yui/build/moodle-core-dock/moodle-core-dock-min.js differ
index 3cba81c..f2c325a 100644 (file)
Binary files a/lib/yui/build/moodle-core-dock/moodle-core-dock.js and b/lib/yui/build/moodle-core-dock/moodle-core-dock.js differ
index e837107..c70839a 100644 (file)
@@ -138,7 +138,7 @@ BLOCK.prototype = {
 
         movetoimg = Y.Node.create('<img />').setAttrs({
             alt : Y.Escape.html(M.str.block.undockitem),
-            title : Y.Escape.html(M.util.get_string('undockblock', 'block', blocktitle.innerHTML)),
+            title : Y.Escape.html(M.util.get_string('undockblock', 'block', blocktitle.get('innerHTML'))),
             src : M.util.image_url(icon, 'moodle')
         });
         moveto = Y.Node.create('<a class="moveto customcommand requiresjs"></a>').setAttrs({