fix wrong conflict resolution
This commit is contained in:
parent
d273b55e98
commit
f633fb537f
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ $(document).ready(function() {
|
||||||
if (this.checked) {
|
if (this.checked) {
|
||||||
// Create a link
|
// Create a link
|
||||||
if (oc_appconfig.core.enforcePasswordForPublicLink === false) {
|
if (oc_appconfig.core.enforcePasswordForPublicLink === false) {
|
||||||
OC.Share.share(itemType, itemSource, OC.Share.SHARE_TYPE_LINK, '', OC.PERMISSION_READ, itemSourceName, function(data) {
|
OC.Share.share(itemType, itemSource, OC.Share.SHARE_TYPE_LINK, '', OC.PERMISSION_READ, itemSourceName, expirationDate, function(data) {
|
||||||
OC.Share.showLink(data.token, null, itemSource);
|
OC.Share.showLink(data.token, null, itemSource);
|
||||||
OC.Share.updateIcon(itemType, itemSource);
|
OC.Share.updateIcon(itemType, itemSource);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue