summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2018-10-19 11:23:33 +0200
committerStefan Weil <sw@weilnetz.de>2018-10-19 11:24:24 +0200
commit2ad38200fbad6a21403a1addaa65deab72741760 (patch)
tree94265101976cc7d49429a06483987dec3492d76d /apps
parenta1ea504edf529a364be9b66fda5d100d62dcc0b9 (diff)
downloadnextcloud-server-2ad38200fbad6a21403a1addaa65deab72741760.tar.gz
nextcloud-server-2ad38200fbad6a21403a1addaa65deab72741760.zip
Add missing semicolons
This fixes some recommendations from LGTM: Avoid automated semicolon insertion (90% of all statements in the enclosing function have an explicit semicolon). Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/detailsview.js2
-rw-r--r--apps/files/js/filelist.js4
-rw-r--r--apps/files_sharing/js/sharedfilelist.js2
-rw-r--r--apps/user_ldap/js/wizard/wizardTabAbstractFilter.js2
4 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js
index 2a5d589a730..675e380b52b 100644
--- a/apps/files/js/detailsview.js
+++ b/apps/files/js/detailsview.js
@@ -102,7 +102,7 @@
this.$el.insertAfter($('#app-content'));
} else {
if ($appSidebar[0] !== this.el) {
- $appSidebar.replaceWith(this.$el)
+ $appSidebar.replaceWith(this.$el);
}
}
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 94052b10b33..771ec495a2d 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -310,10 +310,10 @@
breadcrumbOptions.onDrop = _.bind(this._onDropOnBreadCrumb, this);
breadcrumbOptions.onOver = function() {
self.$el.find('td.filename.ui-droppable').droppable('disable');
- }
+ };
breadcrumbOptions.onOut = function() {
self.$el.find('td.filename.ui-droppable').droppable('enable');
- }
+ };
}
this.breadcrumb = new OCA.Files.BreadCrumb(breadcrumbOptions);
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js
index 3a6de0d5012..19250815bd6 100644
--- a/apps/files_sharing/js/sharedfilelist.js
+++ b/apps/files_sharing/js/sharedfilelist.js
@@ -232,7 +232,7 @@
promises.push($.ajax(remoteShares));
}
if (this._isOverview) {
- shares.data.shared_with_me = !shares.data.shared_with_me
+ shares.data.shared_with_me = !shares.data.shared_with_me;
promises.push($.ajax(shares));
}
}
diff --git a/apps/user_ldap/js/wizard/wizardTabAbstractFilter.js b/apps/user_ldap/js/wizard/wizardTabAbstractFilter.js
index c9c3aeb241d..0131816e4ee 100644
--- a/apps/user_ldap/js/wizard/wizardTabAbstractFilter.js
+++ b/apps/user_ldap/js/wizard/wizardTabAbstractFilter.js
@@ -302,7 +302,7 @@ OCA = OCA || {};
if( !view.getFilterItem().$element.val()
&& view.parsedFilterMode === view.configModel.FILTER_MODE_ASSISTED
) {
- view.configModel.requestWizard(view.getFilterItem().keyName)
+ view.configModel.requestWizard(view.getFilterItem().keyName);
}
} else if (payload.feature === view.getGroupsItem().featureName) {
if(view.manyGroupsSupport && payload.data.length > view._groupElementSwitchThreshold) {