Keep opacity in current item in newFileMenu

Whenever the input field appears, the menu item should keep its opacity
instead of reacting on hover.
This commit is contained in:
Vincent Petry 2015-09-30 10:44:59 +02:00
parent 733673b39d
commit d835115600
2 changed files with 6 additions and 0 deletions

View file

@ -746,6 +746,10 @@ table.dragshadow td.size {
margin: 0;
}
.newFileMenu.popovermenu a.menuitem.active {
opacity: 1;
}
.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);
}
},