Skip to content

Commit e9b8770

Browse files
authored
Merge pull request #487 from intersystems/fix-483
Fixed folder settings in mappings to be saved and persist
2 parents 73284cf + 67925c7 commit e9b8770

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
- Improved logging in preview and when errors occur via WebSocket commands (#467)
2525
- Fixed pull event handler handling of extremely long class names from diff (#467)
2626
- Fixed Git web UI prompt to update file list when file selected/unselected (#478)
27+
- Fixed folder settings in mappings to be saved and persist (#483)
2728

2829
## [2.4.1] - 2024-08-02
2930

csp/gitprojectsettings.csp

+7
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,13 @@ function toggleNoFolders(e){
665665

666666
$('[id^=noFoldersSwitch]').click(toggleNoFolders);
667667

668+
// Check to persist state of no folder switches
669+
$('.mapping-input-group').children('.voca').each(function(){
670+
var currElement = $(this).children().children(".custom-control").children()[0]
671+
if(!$(currElement).hasClass("active")) {
672+
$(currElement).parent().siblings("#NoFolders")[0].value = "NoFolders";
673+
}
674+
});
668675
</script>
669676
</body>
670677
</html>

module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Document name="git-source-control.ZPM">
44
<Module>
55
<Name>git-source-control</Name>
6-
<Version>2.4.1</Version>
6+
<Version>2.5.0</Version>
77
<Description>Server-side source control extension for use of Git on InterSystems platforms</Description>
88
<Keywords>git source control studio vscode</Keywords>
99
<Packaging>module</Packaging>

0 commit comments

Comments
 (0)