Merge pull request #11922 from stweil/semicolons

Add missing semicolons
This commit is contained in:
Morris Jobke 2018-10-19 12:07:59 +02:00 committed by GitHub
commit d35b6513cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 8 deletions

View File

@ -102,7 +102,7 @@
this.$el.insertAfter($('#app-content')); this.$el.insertAfter($('#app-content'));
} else { } else {
if ($appSidebar[0] !== this.el) { if ($appSidebar[0] !== this.el) {
$appSidebar.replaceWith(this.$el) $appSidebar.replaceWith(this.$el);
} }
} }

View File

@ -310,10 +310,10 @@
breadcrumbOptions.onDrop = _.bind(this._onDropOnBreadCrumb, this); breadcrumbOptions.onDrop = _.bind(this._onDropOnBreadCrumb, this);
breadcrumbOptions.onOver = function() { breadcrumbOptions.onOver = function() {
self.$el.find('td.filename.ui-droppable').droppable('disable'); self.$el.find('td.filename.ui-droppable').droppable('disable');
} };
breadcrumbOptions.onOut = function() { breadcrumbOptions.onOut = function() {
self.$el.find('td.filename.ui-droppable').droppable('enable'); self.$el.find('td.filename.ui-droppable').droppable('enable');
} };
} }
this.breadcrumb = new OCA.Files.BreadCrumb(breadcrumbOptions); this.breadcrumb = new OCA.Files.BreadCrumb(breadcrumbOptions);

View File

@ -232,7 +232,7 @@
promises.push($.ajax(remoteShares)); promises.push($.ajax(remoteShares));
} }
if (this._isOverview) { 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)); promises.push($.ajax(shares));
} }
} }

View File

@ -302,7 +302,7 @@ OCA = OCA || {};
if( !view.getFilterItem().$element.val() if( !view.getFilterItem().$element.val()
&& view.parsedFilterMode === view.configModel.FILTER_MODE_ASSISTED && 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) { } else if (payload.feature === view.getGroupsItem().featureName) {
if(view.manyGroupsSupport && payload.data.length > view._groupElementSwitchThreshold) { if(view.manyGroupsSupport && payload.data.length > view._groupElementSwitchThreshold) {

View File

@ -114,7 +114,7 @@
}); });
clipboard.on('error', function (e) { clipboard.on('error', function (e) {
var $menu = $(e.trigger); var $menu = $(e.trigger);
var $linkTextMenu = $menu.parent().next('li.linkTextMenu') var $linkTextMenu = $menu.parent().next('li.linkTextMenu');
var $input = $linkTextMenu.find('.linkText'); var $input = $linkTextMenu.find('.linkText');
var actionMsg = ''; var actionMsg = '';
@ -393,8 +393,8 @@
var isLinkShare = this.model.get('linkShare').isLinkShare; var isLinkShare = this.model.get('linkShare').isLinkShare;
var isPasswordSet = !!this.model.get('linkShare').password; var isPasswordSet = !!this.model.get('linkShare').password;
var isPasswordEnforced = this.configModel.get('enforcePasswordForPublicLink') var isPasswordEnforced = this.configModel.get('enforcePasswordForPublicLink');
var isPasswordEnabledByDefault = this.configModel.get('enableLinkPasswordByDefault') === true var isPasswordEnabledByDefault = this.configModel.get('enableLinkPasswordByDefault') === true;
var showPasswordCheckBox = isLinkShare var showPasswordCheckBox = isLinkShare
&& ( !this.configModel.get('enforcePasswordForPublicLink') && ( !this.configModel.get('enforcePasswordForPublicLink')
|| !this.model.get('linkShare').password); || !this.model.get('linkShare').password);