MDL-33731 Add exception for closebutton when drag/dropping activity chooser

This commit is contained in:
Andrew Robert Nicols 2012-06-14 11:30:13 +01:00
parent 60d3ff94db
commit 346099f08b

View File

@ -76,6 +76,7 @@ Y.extend(DIALOGUE, Y.Overlay, {
if (this.get('draggable')) {
var titlebar = '#' + this.get('id') + ' .' + CSS.HEADER;
this.plug(Y.Plugin.Drag, {handles : [titlebar]});
this.dd.addInvalid('div.closebutton');
Y.one(titlebar).setStyle('cursor', 'move');
}
break;