Skip to content

Commit

Permalink
Merge branch 'MDL-42756_28' of git://github.com/aolley/moodle into MO…
Browse files Browse the repository at this point in the history
…ODLE_28_STABLE
  • Loading branch information
danpoltawski committed Nov 17, 2014
2 parents ccfd014 + b19e9ae commit 3b8a871
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/yui/build/moodle-core-dock/moodle-core-dock-debug.js
Expand Up @@ -1972,6 +1972,9 @@ DOCKEDITEM.prototype = {
Y.log('Showing '+this._getLogDescription(), 'debug', LOGNS);
panel.setHeader(this.get('titlestring'), this.get('commands'));
panel.setBody(Y.Node.create('<div class="block_'+this.get('blockclass')+' block_docked"></div>').append(this.get('contents')));
if (M.core.actionmenu !== undefined) {
M.core.actionmenu.newDOMNode(panel.get('node'));
}
panel.show();
panel.correctWidth();

Expand Down
2 changes: 1 addition & 1 deletion lib/yui/build/moodle-core-dock/moodle-core-dock-min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions lib/yui/build/moodle-core-dock/moodle-core-dock.js
Expand Up @@ -1955,6 +1955,9 @@ DOCKEDITEM.prototype = {
this.fire('dockeditem:showstart');
panel.setHeader(this.get('titlestring'), this.get('commands'));
panel.setBody(Y.Node.create('<div class="block_'+this.get('blockclass')+' block_docked"></div>').append(this.get('contents')));
if (M.core.actionmenu !== undefined) {
M.core.actionmenu.newDOMNode(panel.get('node'));
}
panel.show();
panel.correctWidth();

Expand Down
3 changes: 3 additions & 0 deletions lib/yui/src/dock/js/dockeditem.js
Expand Up @@ -133,6 +133,9 @@ DOCKEDITEM.prototype = {
Y.log('Showing '+this._getLogDescription(), 'debug', LOGNS);
panel.setHeader(this.get('titlestring'), this.get('commands'));
panel.setBody(Y.Node.create('<div class="block_'+this.get('blockclass')+' block_docked"></div>').append(this.get('contents')));
if (M.core.actionmenu !== undefined) {
M.core.actionmenu.newDOMNode(panel.get('node'));
}
panel.show();
panel.correctWidth();

Expand Down
3 changes: 3 additions & 0 deletions theme/bootstrapbase/less/moodle/dock.less
Expand Up @@ -126,6 +126,9 @@ body.has_dock {
.hidepanemicon img {
cursor: pointer;
}
img.actionmenu {
width: auto;
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 3b8a871

Please sign in to comment.