修复因表格结构改变导致的原文件名获取失败问题
This commit is contained in:
parent
c7a16e82c5
commit
7459ef24b8
@ -1,6 +1,6 @@
|
||||
$(document).on('click', '.rename-btn', function () {
|
||||
var relativePath = $(this).attr('value');
|
||||
var fileName = $(this).closest('tr').find('td:first').text().trim();
|
||||
var fileName = $(this).closest('tr').find('td:eq(1)').text().trim();
|
||||
$('#renameRelativePath').val(relativePath);
|
||||
$('#renameform-newname').val(fileName);
|
||||
$('#renameModal').modal('show');
|
||||
|
Loading…
Reference in New Issue
Block a user