Merge branch 'wip-mdl-27309' of git://github.com/rajeshtaneja/moodle

This commit is contained in:
Dan Poltawski 2012-10-16 14:59:04 +08:00
commit a2b86c741d

View File

@ -958,7 +958,7 @@ M.core_dock.genericblock.prototype = {
placeholder.replace(this.Y.Node.getDOMNode(this.cachedcontentnode));
this.cachedcontentnode = this.Y.one('#'+this.cachedcontentnode.get('id'));
var commands = this.cachedcontentnode.one('.title .commands');
var commands = dockitem.commands;
if (commands) {
commands.all('.hidepanelicon').remove();
commands.all('.moveto').remove();