try fix encrypt current directory at left-top
parent
457e2cee18
commit
51cc75c0f5
|
@ -229,7 +229,7 @@
|
||||||
<table class="list-table" id="list-table">
|
<table class="list-table" id="list-table">
|
||||||
<tr id="tr0">
|
<tr id="tr0">
|
||||||
<th class="file">
|
<th class="file">
|
||||||
<a onclick="sortby('a');"><!--constStr@File--></a>
|
<a id="file_a0" fileid="<!--FolderId-->" onclick="sortby('a');"><!--constStr@File--></a>
|
||||||
<!--ShowThumbnailsStart-->
|
<!--ShowThumbnailsStart-->
|
||||||
|
|
||||||
<label><input type="checkbox" id="originalpic"><!--constStr@OriginalPic--></label>
|
<label><input type="checkbox" id="originalpic"><!--constStr@OriginalPic--></label>
|
||||||
|
@ -1477,17 +1477,18 @@
|
||||||
document.getElementById('mask').style.display='';
|
document.getElementById('mask').style.display='';
|
||||||
//document.getElementById('mask').style.width=document.documentElement.scrollWidth+'px';
|
//document.getElementById('mask').style.width=document.documentElement.scrollWidth+'px';
|
||||||
document.getElementById('mask').style.height=document.documentElement.scrollHeight<window.innerHeight?window.innerHeight:document.documentElement.scrollHeight+'px';
|
document.getElementById('mask').style.height=document.documentElement.scrollHeight<window.innerHeight?window.innerHeight:document.documentElement.scrollHeight+'px';
|
||||||
|
var str;
|
||||||
if (num=='') {
|
if (num=='') {
|
||||||
var str='';
|
str = '';
|
||||||
var fileid='';
|
num = 0;
|
||||||
} else {
|
} else {
|
||||||
var str=decodeURIComponent(document.getElementById('file_a'+num).href);
|
str = decodeURIComponent(document.getElementById('file_a'+num).href);
|
||||||
if (str.substr(-1)==' ') str=str.substr(0, str.length-1);
|
if (str.substr(-1)==' ') str=str.substr(0, str.length-1);
|
||||||
if (str.substr(-1)=='/') str=str.substr(0, str.length-1);
|
if (str.substr(-1)=='/') str=str.substr(0, str.length-1);
|
||||||
if (str.substr(-8)=='?preview') str=str.substr(0, str.length-8);
|
if (str.substr(-8)=='?preview') str=str.substr(0, str.length-8);
|
||||||
if (str.lastIndexOf('/')>-1) str=str.substr(str.lastIndexOf('/')+1);
|
if (str.lastIndexOf('/')>-1) str=str.substr(str.lastIndexOf('/')+1);
|
||||||
var fileid=document.getElementById('file_a'+num).attributes['fileid'].nodeValue;
|
|
||||||
}
|
}
|
||||||
|
var fileid = document.getElementById('file_a'+num).attributes['fileid'].nodeValue;
|
||||||
document.getElementById(action + '_div').style.display='';
|
document.getElementById(action + '_div').style.display='';
|
||||||
document.getElementById(action + '_label').innerText=str;//.replace(/&/,'&');
|
document.getElementById(action + '_label').innerText=str;//.replace(/&/,'&');
|
||||||
document.getElementById(action + '_sid').value=num;
|
document.getElementById(action + '_sid').value=num;
|
||||||
|
|
Loading…
Reference in New Issue