summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialoglinkshareview.js
diff options
context:
space:
mode:
authorimsolost <imsolost@gmail.com>2019-01-18 14:53:10 -0800
committerimsolost <imsolost@gmail.com>2019-01-25 11:16:37 -0800
commit67c304498e1b4bcb5aab3f2d9b5ad81a33983b17 (patch)
tree10e2e04d02fbbdd156bd9b19bc8a1b400b45ae80 /core/js/sharedialoglinkshareview.js
parentdaed830abdb5dc2312322e60e06703c670ed45a3 (diff)
downloadnextcloud-server-67c304498e1b4bcb5aab3f2d9b5ad81a33983b17.tar.gz
nextcloud-server-67c304498e1b4bcb5aab3f2d9b5ad81a33983b17.zip
added missing variable declarations
Signed-off-by: imsolost <imsolost@gmail.com>
Diffstat (limited to 'core/js/sharedialoglinkshareview.js')
-rw-r--r--core/js/sharedialoglinkshareview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js
index 91101e47b2e..a3d25684631 100644
--- a/core/js/sharedialoglinkshareview.js
+++ b/core/js/sharedialoglinkshareview.js
@@ -245,7 +245,7 @@
var $newShare = self.$el.find('li[data-share-id="'+newShareId+'"]');
// only open the menu by default if this is the first share
if ($newShare && shares.length === 1) {
- $menu = $newShare.find('.popovermenu');
+ var $menu = $newShare.find('.popovermenu');
OC.showMenu(null, $menu);
}
}
@@ -257,7 +257,7 @@
// password failure? Show error
self.password = ''
if (isPasswordEnforced && response && response.responseJSON && response.responseJSON.ocs.meta && response.responseJSON.ocs.meta.message) {
- $input = self.$el.find('.pending #enforcedPassText')
+ var $input = self.$el.find('.pending #enforcedPassText')
$input.tooltip('destroy');
$input.attr('title', response.responseJSON.ocs.meta.message);
$input.tooltip({placement: 'bottom', trigger: 'manual'});