mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Disable bulk edit for bogus folders
This commit is contained in:
@ -996,10 +996,6 @@ function getTagBlock(item) {
|
||||
template.find('.avatar').css({'background-color': item.color, 'color': item.color2 });
|
||||
template.find('.ch_name').text(item.name);
|
||||
template.find('.bogus_folder_counter').text(count);
|
||||
template.on('click', () => {
|
||||
console.log('Bogus folder clicked', item.id);
|
||||
entitiesFilter.setFilterData(FILTER_TYPES.TAG, { excluded: [], selected: [item.id], bogus: true, });
|
||||
});
|
||||
return template;
|
||||
}
|
||||
|
||||
@ -7524,6 +7520,12 @@ jQuery(async function () {
|
||||
await selectCharacterById(id);
|
||||
});
|
||||
|
||||
$(document).on("click", ".bogus_folder_select", function () {
|
||||
const tagId = $(this).attr('tagid');
|
||||
console.log('Bogus folder clicked', tagId);
|
||||
entitiesFilter.setFilterData(FILTER_TYPES.TAG, { excluded: [], selected: [tagId], bogus: true, });
|
||||
})
|
||||
|
||||
$(document).on("input", ".edit_textarea", function () {
|
||||
scroll_holder = $("#chat").scrollTop();
|
||||
$(this).height(0).height(this.scrollHeight);
|
||||
|
Reference in New Issue
Block a user