Merge pull request #19467 from owncloud/files-newmenu-highlightcurrent

Keep opacity in current item in newFileMenu
This commit is contained in:
Thomas Müller 2015-09-30 14:21:28 +02:00
commit 25b0b01f5e
2 changed files with 8 additions and 0 deletions

View file

@ -752,6 +752,12 @@ table.dragshadow td.size {
margin: 0;
}
.newFileMenu.popovermenu a.menuitem.active {
opacity: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
}
.newFileMenu.bubble:after {
left: 75px;
right: auto;

View file

@ -84,6 +84,8 @@
OC.hideMenus();
} else {
event.preventDefault();
this.$el.find('.menuitem.active').removeClass('active');
$target.addClass('active');
this._promptFileName($target);
}
},