Browse Source

fix allow upload checkbox appeareance

tags/v8.2beta1
Arthur Schiwon 8 years ago
parent
commit
6d832359b6

+ 1
- 1
apps/files_sharing/js/sharetabview.js View File

@@ -54,7 +54,7 @@
}));

var attributes = {
itemType: 'file',
itemType: this.model.isDirectory() ? 'folder' : 'file',
itemSource: this.model.get('id'),
possiblePermissions: this.model.get('sharePermissions')
};

+ 1
- 1
core/js/shareconfigmodel.js View File

@@ -37,7 +37,7 @@
*/
isPublicUploadEnabled: function() {
var publicUploadEnabled = $('#filestable').data('allow-public-upload');
return !_.isUndefined(publicUploadEnabled);
return publicUploadEnabled === 'yes';
},

/**

+ 1
- 1
core/js/sharedialoglinkshareview.js View File

@@ -29,7 +29,7 @@
' <span class="icon-loading-small hidden"></span>' +
'</div>' +
' {{#if publicUpload}}' +
'<div id="allowPublicUploadWrapper" class="hidden">' +
'<div id="allowPublicUploadWrapper">' +
' <span class="icon-loading-small hidden"></span>' +
' <input type="checkbox" value="1" name="allowPublicUpload" id="sharingDialogAllowPublicUpload" {{{publicUploadChecked}}} />' +
' <label for="sharingDialogAllowPublicUpload">{{publicUploadLabel}}</label>' +

Loading…
Cancel
Save