fixup! fixup! fixup! Fix default action for deleted shares
Signed-off-by: GretaD <gretadoci@gmail.com>
This commit is contained in:
parent
4ae94cbe6b
commit
dff944b774
2 changed files with 7 additions and 3 deletions
|
@ -642,9 +642,8 @@ a.action > img {
|
|||
}
|
||||
|
||||
#fileList tr:hover a.action.disabled:hover * {
|
||||
cursor: default;
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
.summary {
|
||||
opacity: .3;
|
||||
/* add whitespace to bottom of files list to correctly show dropdowns */
|
||||
|
|
|
@ -1534,10 +1534,15 @@
|
|||
else {
|
||||
linkUrl = this.getDownloadUrl(name, path, type === 'dir');
|
||||
}
|
||||
var linkElem = $('<a></a>').attr({
|
||||
let linkElem = $('<a></a>').attr({
|
||||
"class": "name",
|
||||
"href": linkUrl
|
||||
});
|
||||
if (this._defaultFileActionsDisabled) {
|
||||
linkElem = $('<p></p>').attr({
|
||||
"class": "name"
|
||||
})
|
||||
}
|
||||
|
||||
linkElem.append('<div class="thumbnail-wrapper"><div class="thumbnail" style="background-image:url(' + icon + ');"></div></div>');
|
||||
|
||||
|
|
Loading…
Reference in a new issue