Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
7e463bfb
Commit
7e463bfb
authored
Nov 02, 2016
by
Michael Jobst
Browse files
Fixed disappearing of share info in file view
parent
f8ed8fbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files_sharing/js/share.js
View file @
7e463bfb
...
...
@@ -71,6 +71,12 @@
var
fileInfo
=
oldElementToFile
.
apply
(
this
,
arguments
);
fileInfo
.
sharePermissions
=
$el
.
attr
(
'
data-share-permissions
'
)
||
undefined
;
fileInfo
.
shareOwner
=
$el
.
attr
(
'
data-share-owner
'
)
||
undefined
;
if
(
$el
.
attr
(
'
data-share-types
'
)){
var
shareTypes
=
$el
.
attr
(
'
data-share-types
'
).
split
(
'
,
'
);
fileInfo
.
shareTypes
=
shareTypes
;
}
return
fileInfo
;
};
...
...
@@ -247,4 +253,3 @@
})();
OC
.
Plugins
.
register
(
'
OCA.Files.FileList
'
,
OCA
.
Sharing
.
Util
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment