mirror of https://gitee.com/zhang_1334717033/kiftd
v1.0.17-RELEASE 临时更新:修正了文件名存在英文单引号时可能导致的问题
parent
68c1cb6e50
commit
d85e9cf8ef
|
|
@ -725,6 +725,7 @@ function showFolderTable(folderView) {
|
|||
.each(
|
||||
folderView.folderList,
|
||||
function(n, f) {
|
||||
f.folderName = f.folderName.replace('\'',''');
|
||||
var folderRow = "<tr id='"+f.folderId+"' onclick='checkfile(event,"+'"'+f.folderId+'"'+")' ondblclick='checkConsFile(event,"+'"'+f.folderId+'"'+")' class='filerow' iskfolder='true' ><td><button onclick='entryFolder("
|
||||
+ '"' + f.folderId + '"'
|
||||
+ ")' class='btn btn-link btn-xs'>/"
|
||||
|
|
@ -772,6 +773,7 @@ function showFolderTable(folderView) {
|
|||
.each(
|
||||
folderView.fileList,
|
||||
function(n, fi) {
|
||||
fi.fileName = fi.fileName.replace('\'',''');
|
||||
var fileRow = "<tr id=" + fi.fileId + " onclick='checkfile(event," + '"'
|
||||
+ fi.fileId + '"' + ")' ondblclick='checkConsFile(event,"+'"'+fi.fileId+'"'+")' id='" + fi.fileId
|
||||
+ "' class='filerow'><td>" + fi.fileName
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue