Merge branch 'wip-MDL-30830-m22' of git://github.com/samhemelryk/moodle into MOODLE_22_STABLE

This commit is contained in:
Eloy Lafuente (stronk7) 2012-02-21 21:19:33 +01:00
commit 7b1890513f

View file

@ -539,6 +539,7 @@ M.core_dock.fixTitleOrientation = function(item, title, text) {
svg.appendChild(txt); svg.appendChild(txt);
title.append(svg); title.append(svg);
title.append(Y.Node.create('<span class="accesshide">'+text+'</span>'));
item.on('dockeditem:drawcomplete', function(txt, title){ item.on('dockeditem:drawcomplete', function(txt, title){
txt.setAttribute('fill', Y.one(title).getStyle('color')); txt.setAttribute('fill', Y.one(title).getStyle('color'));