* [perf story #69666] Add is-pinned class for action for batch create.

This commit is contained in:
wangyidong
2024-11-27 15:57:43 +08:00
committed by 孙广明
parent 806ad8d550
commit 2973100b35
+1
View File
@@ -271,5 +271,6 @@ window.handleRenderRow = function($row, index)
/* 创建隐藏表单域用于向服务器提交当前行层级信息。 */
$row.find(nestedTextSelector).text(text).append(`<input type="hidden" name="level[${index + 1}]" value="${level}">`);
$row.find('.form-batch-col-actions').addClass('is-pinned');
if(edition == 'open' && (level > 0 || parentID)) $row.find('button[data-type=addSub]').attr('disabled', 'disabled');
};