summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-07-29 15:38:31 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2016-11-01 19:51:11 +0100
commita17c6a485d91bdc1c322a454c66d9d017a5f8ca5 (patch)
tree96b90220f17bfd7143b10051ab38c4f6e071d56d /core
parent0a6f02801f333c17ca6455906bc816020883477d (diff)
downloadnextcloud-server-a17c6a485d91bdc1c322a454c66d9d017a5f8ca5.tar.gz
nextcloud-server-a17c6a485d91bdc1c322a454c66d9d017a5f8ca5.zip
add share by mail share provider
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'core')
-rw-r--r--core/js/sharedialogview.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js
index 78622faea29..30cb0b1fbfd 100644
--- a/core/js/sharedialogview.js
+++ b/core/js/sharedialogview.js
@@ -215,15 +215,15 @@
}
}
} else if (share.share_type === OC.Share.SHARE_TYPE_EMAIL) {
- emailsLength = emails.length;
- for (j = 0; j < emailsLength; j++) {
- if (emails[j].value.shareWith === share.share_with) {
- emails.splice(j, 1);
- break;
+ emailsLength = emails.length;
+ for (j = 0; j < emailsLength; j++) {
+ if (emails[j].value.shareWith === share.share_with) {
+ emails.splice(j, 1);
+ break;
+ }
}
}
}
- }
var suggestions = users.concat(groups).concat(remotes).concat(emails);