aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2022-01-12 15:48:36 +0100
committerGitHub <noreply@github.com>2022-01-12 15:48:36 +0100
commit2e1491771e47eb02d297215eba6e6ce0019fc9c1 (patch)
treef327c9ae125cbddd86a1da588b3562d08b3bbe65 /apps/user_ldap
parentdb9fbc93072049b8816a683ca015ba53976db03a (diff)
parentbfdfafde79a17b1683467c800cf2a63ba14fb1a0 (diff)
downloadnextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.tar.gz
nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.zip
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/js/renewPassword.js4
-rw-r--r--apps/user_ldap/js/wizard/wizardTabAdvanced.js6
-rw-r--r--apps/user_ldap/js/wizard/wizardTabElementary.js8
-rw-r--r--apps/user_ldap/js/wizard/wizardTabExpert.js4
-rw-r--r--apps/user_ldap/js/wizard/wizardTabGeneric.js8
-rw-r--r--apps/user_ldap/js/wizard/wizardTabLoginFilter.js6
6 files changed, 18 insertions, 18 deletions
diff --git a/apps/user_ldap/js/renewPassword.js b/apps/user_ldap/js/renewPassword.js
index 307d5f8294d..bd035cd70be 100644
--- a/apps/user_ldap/js/renewPassword.js
+++ b/apps/user_ldap/js/renewPassword.js
@@ -2,7 +2,7 @@
*
* @copyright Copyright (c) 2016, Roger Szabo (roger.szabo@web.de)
*
- * @license GNU AGPL version 3 or any later version
+ * @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -32,7 +32,7 @@ OCA.LDAP = _.extend(OC.LDAP || {}, {
window.addEventListener('DOMContentLoaded', function() {
$('form[name=renewpassword]').submit(OCA.LDAP.onRenewPassword);
-
+
if($('#newPassword').length) {
$('#newPassword').showPassword().keyup();
}
diff --git a/apps/user_ldap/js/wizard/wizardTabAdvanced.js b/apps/user_ldap/js/wizard/wizardTabAdvanced.js
index 1545147f64c..be98072dcb3 100644
--- a/apps/user_ldap/js/wizard/wizardTabAdvanced.js
+++ b/apps/user_ldap/js/wizard/wizardTabAdvanced.js
@@ -17,8 +17,8 @@ OCA = OCA || {};
/**
* initializes the instance. Always call it after initialization.
*
- * @param tabIndex
- * @param tabID
+ * @param {any} tabIndex -
+ * @param {any} tabID -
*/
init: function (tabIndex, tabID) {
this._super(tabIndex, tabID);
@@ -281,7 +281,7 @@ OCA = OCA || {};
setDynamicGroupMemberURL: function(attribute) {
this.setElementValue(this.managedItems.ldap_dynamic_group_member_url.$element, attribute);
},
-
+
/**
* enabled or disables the use of nested groups (groups in groups in
* groups…)
diff --git a/apps/user_ldap/js/wizard/wizardTabElementary.js b/apps/user_ldap/js/wizard/wizardTabElementary.js
index 24e76bd84c7..7dbb9998064 100644
--- a/apps/user_ldap/js/wizard/wizardTabElementary.js
+++ b/apps/user_ldap/js/wizard/wizardTabElementary.js
@@ -22,8 +22,8 @@ OCA = OCA || {};
/**
* initializes the instance. Always call it after initialization.
*
- * @param tabIndex
- * @param tabID
+ * @param {any} tabIndex -
+ * @param {any} tabID -
*/
init: function (tabIndex, tabID) {
tabIndex = 0;
@@ -245,8 +245,8 @@ OCA = OCA || {};
* updates the configuration chooser upon the deletion of a
* configuration and, if necessary, loads an existing one.
*
- * @param view
- * @param result
+ * @param {any} view -
+ * @param {any} result -
*/
onDeleteConfiguration: function(view, result) {
if(result.isSuccess === true) {
diff --git a/apps/user_ldap/js/wizard/wizardTabExpert.js b/apps/user_ldap/js/wizard/wizardTabExpert.js
index 634d30212ac..61a1b8c9aa3 100644
--- a/apps/user_ldap/js/wizard/wizardTabExpert.js
+++ b/apps/user_ldap/js/wizard/wizardTabExpert.js
@@ -17,8 +17,8 @@ OCA = OCA || {};
/**
* initializes the instance. Always call it after initialization.
*
- * @param tabIndex
- * @param tabID
+ * @param {any} tabIndex -
+ * @param {any} tabID -
*/
init: function (tabIndex, tabID) {
this._super(tabIndex, tabID);
diff --git a/apps/user_ldap/js/wizard/wizardTabGeneric.js b/apps/user_ldap/js/wizard/wizardTabGeneric.js
index edb099f99cd..89ae257d368 100644
--- a/apps/user_ldap/js/wizard/wizardTabGeneric.js
+++ b/apps/user_ldap/js/wizard/wizardTabGeneric.js
@@ -29,7 +29,7 @@ OCA = OCA || {};
bjQuiButtonClass: 'ui-button',
/**
- * @property {bool} - indicates whether a filter mode toggle operation
+ * @property {boolean} - indicates whether a filter mode toggle operation
* is still in progress
*/
isToggling: false,
@@ -147,8 +147,8 @@ OCA = OCA || {};
/**
* displays server error messages.
*
- * @param view
- * @param payload
+ * @param {any} view -
+ * @param {any} payload -
*/
onServerError: function(view, payload) {
if ( !_.isUndefined(view.managedItems[payload.relatedKey])) {
@@ -456,7 +456,7 @@ OCA = OCA || {};
* sets the filter mode initially and resets the "isToggling" marker.
* This method is called after a save operation against the mode key.
*
- * @param mode
+ * @param {any} mode -
*/
setFilterModeOnce: function(mode) {
this.isToggling = false;
diff --git a/apps/user_ldap/js/wizard/wizardTabLoginFilter.js b/apps/user_ldap/js/wizard/wizardTabLoginFilter.js
index a0362c3ba93..774c02dbf4a 100644
--- a/apps/user_ldap/js/wizard/wizardTabLoginFilter.js
+++ b/apps/user_ldap/js/wizard/wizardTabLoginFilter.js
@@ -16,8 +16,8 @@ OCA = OCA || {};
/**
* initializes the instance. Always call it after initialization.
*
- * @param tabIndex
- * @param tabID
+ * @param {any} tabIndex -
+ * @param {any} tabID -
*/
init: function (tabIndex, tabID) {
this._super(tabIndex, tabID);
@@ -134,7 +134,7 @@ OCA = OCA || {};
/**
* presents the result of the login name test
*
- * @param result
+ * @param {any} result -
*/
handleLoginTestResult: function(result) {
var message;