Skip to content

Commit 1b2c66a

Browse files
authored
Merge pull request #23638 from nextcloud/backport/23630/stable18
[stable18] Bring back the restore share button
2 parents bcb919d + 1def9a0 commit 1b2c66a

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

apps/files/css/files.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,23 @@ table td.selection {
529529
cursor: default !important;
530530
}
531531

532+
/*
533+
* Make the disabled link look not like a link in file list rows
534+
*/
535+
#fileList a.name.disabled {
536+
* {
537+
cursor: default;
538+
}
539+
540+
a, a * {
541+
cursor: pointer;
542+
}
543+
544+
&:focus {
545+
background: none;
546+
}
547+
}
548+
532549
a.action > img {
533550
height: 16px;
534551
width: 16px;

apps/files/js/filelist.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,9 +1539,7 @@
15391539
"href": linkUrl
15401540
});
15411541
if (this._defaultFileActionsDisabled) {
1542-
linkElem = $('<p></p>').attr({
1543-
"class": "name"
1544-
})
1542+
linkElem.addClass('disabled');
15451543
}
15461544

15471545
linkElem.append('<div class="thumbnail-wrapper"><div class="thumbnail" style="background-image:url(' + icon + ');"></div></div>');

0 commit comments

Comments
 (0)