[UPDT] BASE: Updated action type CRUD operation permissions

This commit is contained in:
Horilla
2024-11-14 15:36:35 +05:30
parent 5a3e6488d0
commit ea07319d5f
15 changed files with 187 additions and 163 deletions

View File

@@ -497,6 +497,11 @@ function handleDownloadAndRefresh(event, url) {
}, 500); // Adjust the delay as needed
}
function toggleCommentButton(e) {
const $button = $(e).closest('form').find('#commentButton');
$button.toggle($(e).val().trim() !== '');
}
function updateUserPanelCount(e) {
var count = $(e).closest('.oh-sticky-table__tr').find('.oh-user-panel').length;
setTimeout(() => {