Files
DzzOffice/dzz/system/template/fileselection/content.htm
2022-11-02 23:21:46 +08:00

28 lines
1.0 KiB
HTML

<input type="hidden" value="$fid" id="fidinput"/>
<input type="hidden" value="$folderpathstr" id="folderstr"/>
<div id="filemanage-f-$fid" class="icosContainer"></div>
<div id="template_middleicon" style="display:none">
<!--{template fileselection/template_file_middleicon}-->
</div>
<div id="template_detaillist" style="display:none">
<!--{template fileselection/template_file_detaillist}-->
</div>
<script type="text/javascript">
//请求fid
var fid = $('#fidinput').val();
var path = $('#folderstr').val();
_selectfile.fid = fid;
_explorer.set_address(path);
var getdataurl = MOD_URL + '&op=fileselection&do=explorerfile&operation=filelist&sid=f-' + fid+'&permfilter='+_explorer.permfilter;
var search_exts =$('.select-style').data('exts');
if(search_exts){
_explorer.defaultexttype = search_exts;
}
if(_explorer.defaultexttype){
getdataurl += '&exts='+_explorer.defaultexttype;
}
_selectfile.getData(getdataurl,function(){
empty_searchkeyword();
});
</script>