Permalink
Browse files

Merge branch 'wip-mdl-27309-m23' of git://github.com/rajeshtaneja/moo…

…dle into MOODLE_23_STABLE
  • Loading branch information...
danpoltawski committed Oct 16, 2012
2 parents 760cab0 + 90c6925 commit 48a8f1c7a0124594ff63950fb8de541e4d641828
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/dock.js
View
@@ -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();

0 comments on commit 48a8f1c

Please sign in to comment.