MDL-50999 dock: Stop adding commands to DOM
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 5 Aug 2015 02:00:18 +0000 (10:00 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 5 Aug 2015 02:06:35 +0000 (10:06 +0800)
commite3554c1c57608e936d7a4af2b4e75d53f20b6194
tree50a0028ca269bc6d8bfd70d89f58f3feddde56d3
parent032a4fe51ccf41cbd3c310d52ca5b7777ffb5123
MDL-50999 dock: Stop adding commands to DOM

The commands div should not be added to the DOM. The version shown in the
dock is different to the standard version in the block, and is manually
added to the dock panel when it is displayed.

The docked version contains additional actions (e.g. the undock button).

The original version of the dock should ideally remain untouched.

Note: A duplicate delegation was discovered when fixing this issue. This
was previosuly not triggered because the watched Node was removed
before the delegation took effect.
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
lib/yui/src/dock/js/dock.js