summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogmailview.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/sharedialogmailview.js')
-rw-r--r--core/js/sharedialogmailview.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/sharedialogmailview.js b/core/js/sharedialogmailview.js
index 04baaee2173..ce0893cb25c 100644
--- a/core/js/sharedialogmailview.js
+++ b/core/js/sharedialogmailview.js
@@ -8,6 +8,8 @@
*
*/
+/* globals escapeHTML, Handlebars */
+
(function() {
if (!OC.Share) {
OC.Share = {};
@@ -137,7 +139,7 @@
fetch: 'getShareWithEmail',
search: search.term
}, function(result) {
- if (result.status == 'success' && result.data.length > 0) {
+ if (result.status === 'success' && result.data.length > 0) {
response(result.data);
}
});