summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-30 14:21:28 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-30 14:21:28 +0200
commit25b0b01f5e70ac10da16903db080eeefd111ab87 (patch)
tree229820765e5a9350705d750a9dbe20c499240e0e /apps/files/js
parent6d743ffac6ceb2b89447e7a7da6fdbefc4a6d06a (diff)
parentdef76bed2a9fbaa9a3440bfb7d1684cd9a6f9db0 (diff)
downloadnextcloud-server-25b0b01f5e70ac10da16903db080eeefd111ab87.tar.gz
nextcloud-server-25b0b01f5e70ac10da16903db080eeefd111ab87.zip
Merge pull request #19467 from owncloud/files-newmenu-highlightcurrent
Keep opacity in current item in newFileMenu
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/newfilemenu.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js
index 4c021e6b873..b07999821d5 100644
--- a/apps/files/js/newfilemenu.js
+++ b/apps/files/js/newfilemenu.js
@@ -84,6 +84,8 @@
OC.hideMenus();
} else {
event.preventDefault();
+ this.$el.find('.menuitem.active').removeClass('active');
+ $target.addClass('active');
this._promptFileName($target);
}
},