File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -665,18 +665,16 @@ function toggleNoFolders(e){
665
665
666
666
$('[id^=noFoldersSwitch]').click(toggleNoFolders);
667
667
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
+ });
668
675
</script>
669
676
</body>
670
677
</html>
671
- <script method='OnPreHTTP' type="text/javascript">
672
- // Check to persist state of no folder switches
673
- $('.mapping-input-group').children('.voca').each(function(){
674
- var currElement = $(this).children().children(".custom-control").children()[0]
675
- if(!$(currElement).hasClass("active")) {
676
- $(currElement).parent().siblings("#NoFolders")[0].value = "NoFolders";
677
- }
678
- });
679
- </script>
680
678
<script method='OnPreHTTP' language='cache' runat='server' returntype='%Boolean'>
681
679
try {
682
680
set %session.UseSessionCookie = 1 // Always set back to autodetect
You can’t perform that action at this time.
0 commit comments