added missing variable declarations
Signed-off-by: imsolost <imsolost@gmail.com>
This commit is contained in:
parent
daed830abd
commit
67c304498e
3 changed files with 4 additions and 4 deletions
|
@ -280,7 +280,7 @@ var OCdialogs = {
|
|||
self.$form.submit();
|
||||
});
|
||||
var newName = $input.val();
|
||||
lastPos = newName.lastIndexOf('.');
|
||||
var lastPos = newName.lastIndexOf('.');
|
||||
if (lastPos === -1) {
|
||||
lastPos = newName.length;
|
||||
}
|
||||
|
|
|
@ -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'});
|
||||
|
|
|
@ -338,7 +338,7 @@
|
|||
* build the result array that only contains all contact entries from
|
||||
* merged contacts, if the search term matches its contact name
|
||||
*/
|
||||
for (i = 0; i < groupedLength; i++) {
|
||||
for (var i = 0; i < groupedLength; i++) {
|
||||
if (typeof grouped[i].uuid !== 'undefined' && grouped[i].uuid === previousUuid) {
|
||||
grouped[i].merged = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue