diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-09 18:17:04 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-09 18:17:04 +0200 |
commit | 0b00a06a0daabc50d3fc7f64d31b793ef8afb272 (patch) | |
tree | fde1172cae5de7f06eb1eee41b1b125a2947f644 /core | |
parent | e878e786e04b4c4dcf30e9355003f07592bd9b51 (diff) | |
download | nextcloud-server-0b00a06a0daabc50d3fc7f64d31b793ef8afb272.tar.gz nextcloud-server-0b00a06a0daabc50d3fc7f64d31b793ef8afb272.zip |
Fix indentation
Diffstat (limited to 'core')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index 6ac71aedc95..9b5a2c93c04 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -81,8 +81,8 @@ 'keyup input.linkPassText': 'onPasswordKeyUp', 'click .linkCheckbox': 'onLinkCheckBoxChange', 'click .linkText': 'onLinkTextClick', - 'change .publicUploadCheckbox': 'onAllowPublicUploadChange', - 'change .hideFileListCheckbox': 'onHideFileListChange', + 'change .publicUploadCheckbox': 'onAllowPublicUploadChange', + 'change .hideFileListCheckbox': 'onHideFileListChange', 'click .showPasswordCheckbox': 'onShowPasswordClick' }, @@ -221,21 +221,21 @@ this.model.saveLinkShare({ permissions: permissions }); - }, + }, - onHideFileListChange: function () { - var $checkbox = this.$('.hideFileListCheckbox'); - $checkbox.siblings('.icon-loading-small').removeClass('hidden').addClass('inlineblock'); + onHideFileListChange: function () { + var $checkbox = this.$('.hideFileListCheckbox'); + $checkbox.siblings('.icon-loading-small').removeClass('hidden').addClass('inlineblock'); - var permissions = OC.PERMISSION_UPDATE | OC.PERMISSION_CREATE | OC.PERMISSION_READ; - if ($checkbox.is(':checked')) { - permissions = OC.PERMISSION_UPDATE | OC.PERMISSION_CREATE; - } + var permissions = OC.PERMISSION_UPDATE | OC.PERMISSION_CREATE | OC.PERMISSION_READ; + if ($checkbox.is(':checked')) { + permissions = OC.PERMISSION_UPDATE | OC.PERMISSION_CREATE; + } - this.model.saveLinkShare({ - permissions: permissions - }); - }, + this.model.saveLinkShare({ + permissions: permissions + }); + }, render: function() { var linkShareTemplate = this.template(); @@ -293,8 +293,8 @@ publicUpload: publicUpload && isLinkShare, publicUploadChecked: publicUploadChecked, hideFileListChecked: hideFileListChecked, - publicUploadLabel: t('core', 'Allow editing'), - hideFileListLabel: t('core', 'Hide file listing'), + publicUploadLabel: t('core', 'Allow editing'), + hideFileListLabel: t('core', 'Hide file listing'), mailPublicNotificationEnabled: isLinkShare && this.configModel.isMailPublicNotificationEnabled(), mailPrivatePlaceholder: t('core', 'Email link to person'), mailButtonText: t('core', 'Send') |