diff --git a/blocks/dock.js b/blocks/dock.js
index 46c047932e194..d555668bec803 100644
--- a/blocks/dock.js
+++ b/blocks/dock.js
@@ -906,7 +906,7 @@ M.core_dock.genericblock.prototype = {
}
// Must set the image src seperatly of we get an error with XML strict headers
- var movetoimg = Y.Node.create('');
+ var movetoimg = Y.Node.create('');
var icon = 't/dock_to_block';
if (right_to_left()) {
icon = 't/dock_to_block_rtl';
diff --git a/lang/en/block.php b/lang/en/block.php
index 0a1a1b21cab2e..8e7d0c00e88bc 100644
--- a/lang/en/block.php
+++ b/lang/en/block.php
@@ -63,6 +63,7 @@
$string['restrictpagetypes'] = 'Display on page types';
$string['thisspecificpage'] = 'This specific page';
$string['undockall'] = 'Undock all';
+$string['undockblock'] = 'Undock {$a} block';
$string['undockitem'] = 'Undock this item';
$string['visible'] = 'Visible';
$string['weight'] = 'Weight';
diff --git a/lib/outputrequirementslib.php b/lib/outputrequirementslib.php
index d4eff1ccc2a60..db3c0198101b0 100644
--- a/lib/outputrequirementslib.php
+++ b/lib/outputrequirementslib.php
@@ -407,7 +407,7 @@ protected function find_module($component) {
$module = array('name' => 'core_dock',
'fullpath' => '/blocks/dock.js',
'requires' => array('base', 'node', 'event-custom', 'event-mouseenter', 'event-resize'),
- 'strings' => array(array('addtodock', 'block'),array('undockitem', 'block'),array('undockall', 'block'),array('thisdirectionvertical', 'langconfig'),array('hidedockpanel', 'block'),array('hidepanel', 'block')));
+ 'strings' => array(array('addtodock', 'block'),array('undockitem', 'block'),array('undockblock', 'block'),array('undockall', 'block'),array('thisdirectionvertical', 'langconfig'),array('hidedockpanel', 'block'),array('hidepanel', 'block')));
break;
case 'core_message':
$module = array('name' => 'core_message',