Skip to content

Commit fdbe88a

Browse files
committed
fix: adding multiple NoFolders mappings works
Fixes #533 Sneaky/easy approach, just click the button twice to toggle and get state reflected in the hidden input.
1 parent 81e6f6a commit fdbe88a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4141
- Report error more clearly if you try to create a branch with an invalid name (#534)
4242
- Don't default to WINDOWS style paths (#357)
4343
- Fix errors when deleting non-existent files on import (#524)
44+
- Fixed issue with saving multiple new no-folder mapping settings at the same time (#533)
4445

4546
## [2.6.0] - 2024-10-07
4647

csp/gitprojectsettings.csp

+4-1
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,10 @@ $(function()
735735

736736
newEntry.appendTo(controlForm);
737737
$(("#"+newID)).click(toggleNoFolders);
738-
738+
739+
// Click twice to toggle and get side effects
740+
$(("#"+newID)).click();
741+
$(("#"+newID)).click();
739742
}).on('click', '.btn-remove', function(e)
740743
{
741744
$(this).parent().parent().parent().prev('#indent-div').remove();

0 commit comments

Comments
 (0)