now allow files_sp paths to work (and support folders). Highlighting with folders is broken (likely dodgy ecnt). viewing still broken, but basic navigations is finally working with folders now
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
var OPT={}
|
||||
OPT.grouping='{{OPT.grouping}}'
|
||||
OPT.cwd='{{OPT.cwd}}'
|
||||
OPT.root_eid={{query_data.root_eid}}
|
||||
OPT.search_term='{{OPT.orig_search_term}}'
|
||||
OPT.folders="{{OPT.folders}}" === "True"
|
||||
OPT.howMany={{OPT.how_many}}
|
||||
@@ -143,12 +144,7 @@
|
||||
</div class="form-row">
|
||||
{% set eids=namespace( str="" ) %}
|
||||
{# gather all the file eids and collect them in case we go gallery mode #}
|
||||
{% for obj in entry_data %}
|
||||
{% if obj.type.name != "Directory" %}
|
||||
{% set eids.str = eids.str + obj.id|string +"," %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<input name="eids" id="eids" type="hidden" value="{{eids.str}}">
|
||||
<input name="eids" id="eids" type="hidden" value="{{query_data.entry_list}}">
|
||||
</div>
|
||||
{% set ecnt=namespace( val=0 ) %}
|
||||
<div id="figures" class="row ms-2">
|
||||
@@ -320,8 +316,6 @@ function CallViewRoute(id)
|
||||
$(s).appendTo('body').submit();
|
||||
}
|
||||
|
||||
$('.figure').dblclick( CallViewRouteWrapper )
|
||||
|
||||
// different context menu on files
|
||||
$.contextMenu({
|
||||
selector: '.entry',
|
||||
|
||||
Reference in New Issue
Block a user