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

1
BUGs
View File

@@ -1,3 +1,2 @@
### Next: 33 ### Next: 33
BUG-29: when delete/restore from search view the popup shows a path icon - in wrong spot, move it or lose it
BUG-31: can post move/del DBoxes without highlighted files/content BUG-31: can post move/del DBoxes without highlighted files/content

View File

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