From a17c6a485d91bdc1c322a454c66d9d017a5f8ca5 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 29 Jul 2016 15:38:31 +0200 Subject: add share by mail share provider Signed-off-by: Bjoern Schiessle --- core/js/sharedialogview.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/js/sharedialogview.js') 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); -- cgit v1.2.3