Permalink
Browse files

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

…dle into MOODLE_22_STABLE
  • Loading branch information...
2 parents d44a431 + 32d5bad commit a407d10f1e99cd627ef2a27fb36b4fd2978bd1e4 @danpoltawski danpoltawski committed Oct 16, 2012
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 a407d10

Please sign in to comment.