Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix reference error
There is no "view" nor "configModel" in a Share of the gallery;
configuration parameters are got using "oc_appconfig".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
  • Loading branch information
danxuliu committed Mar 22, 2018
commit f9f0d0f8c47021d5a8124058074f4525131131a9
2 changes: 1 addition & 1 deletion js/vendor/nextcloud/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@

} else {
var title = t('gallery', 'No users or groups found for {search}', {search: $('#shareWith').val()});
if (!view.configModel.get('allowGroupSharing')) {
if (!oc_appconfig.core.allowGroupSharing) {
title = t('gallery', 'No users found for {search}', {search: $('#shareWith').val()});
}
$('#shareWith').addClass('error')
Expand Down