summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogshareelistview.js
diff options
context:
space:
mode:
authorMaximilian Wende <dasisdormax@mailbox.org>2018-02-16 11:42:41 +0100
committerMaximilian Wende <dasisdormax@mailbox.org>2018-02-16 11:42:41 +0100
commit7c453b24259a9a6fa03bb26cc2213013ecff4b8e (patch)
treef0dc4b7c87f6667dfa3aa6300af941666b953c67 /core/js/sharedialogshareelistview.js
parent602f50b2d4781cd9a874e7354b44315d6c0debb5 (diff)
downloadnextcloud-server-7c453b24259a9a6fa03bb26cc2213013ecff4b8e.tar.gz
nextcloud-server-7c453b24259a9a6fa03bb26cc2213013ecff4b8e.zip
Update tests for indeterminate state, fix slashes not being escaped
Signed-off-by: Maximilian Wende <dasisdormax@mailbox.org>
Diffstat (limited to 'core/js/sharedialogshareelistview.js')
-rw-r--r--core/js/sharedialogshareelistview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index 41eed751afb..e76a25bd020 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -384,7 +384,7 @@
var _this = this;
this.getShareeList().forEach(function(sharee) {
var checkBoxId = 'canEdit-' + _this.cid + '-' + sharee.shareWith;
- checkBoxId = '#' + checkBoxId.replace( /(:|\.|\[|\]|,|=|@)/g, "\\$1");
+ checkBoxId = '#' + checkBoxId.replace( /(:|\.|\[|\]|,|=|@|\/)/g, "\\$1");
var $edit = _this.$(checkBoxId);
if($edit.length === 1) {
$edit.prop('checked', sharee.editPermissionState === 'checked');