FIXED: BUG-29: when delete/restore from search view the popup shows a path icon - in wrong spot, move it or lose it AND put trash icon back in alert for location when in Bin, restore icon in that context was wrong

This commit is contained in:
2021-06-12 17:25:47 +10:00
parent 22b41899e9
commit 93d0eec00e
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
<i class="fas fa-database"></i>
{% set tmp_path=cwd | replace( "static/Storage", "" ) + "/" %}
{% elif "files_rbp" in request.url %}
<i class="fas fa-trash-restore-alt"></i>
<i class="fas fa-trash-alt"></i>
{% set tmp_path=cwd | replace( "static/Bin", "" ) + "/" %}
{% endif %}
{{tmp_path}}</span>
@@ -220,6 +220,7 @@ function GetSelnAsDiv()
seln+='<div fname="' + $(this).attr('fname') + '" yr="' + $(this).attr('yr') +
'" date="' + $(this).attr('date') +
'" class="px-1 mx-1">' + $(this).children().html() + '</div>'
seln = seln.replace(':absolute; bottom: 2', ':relative; bottom: 18')
} )
return '<div class="row col-lg-12">'+seln+'</div>'
}