summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-08-09 19:44:17 +0200
committerGitHub <noreply@github.com>2018-08-09 19:44:17 +0200
commit7dc4fadc218da461834ac161dd683a03f89db2bb (patch)
tree27ad1d1068f96741d3dab3560e343281b48eba9b /apps/files
parent46d340045da005547a03c9382c98610942dfac1f (diff)
parentd54635fc7db2415b293d7d7582d42dbda56059f5 (diff)
downloadnextcloud-server-7dc4fadc218da461834ac161dd683a03f89db2bb.tar.gz
nextcloud-server-7dc4fadc218da461834ac161dd683a03f89db2bb.zip
Merge pull request #10626 from nextcloud/bugfix/noid/quickaccess-spaces
Fix quickaccess active indicator for folders with spaces
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/navigation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js
index 7a89159c1f0..9fc2180c923 100644
--- a/apps/files/js/navigation.js
+++ b/apps/files/js/navigation.js
@@ -92,7 +92,7 @@
* @param array options "silent" to not trigger event
*/
setActiveItem: function (itemId, options) {
- var currentItem = this.$el.find('li[data-id=' + itemId + ']');
+ var currentItem = this.$el.find('li[data-id="' + itemId + '"]');
var itemDir = currentItem.data('dir');
var itemView = currentItem.data('view');
var oldItemId = this._activeItem;
@@ -135,7 +135,7 @@
* Returns whether a given item exists
*/
itemExists: function (itemId) {
- return this.$el.find('li[data-id=' + itemId + ']').length;
+ return this.$el.find('li[data-id="' + itemId + '"]').length;
},
/**