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){
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>
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>
680678<script method='OnPreHTTP' language='cache' runat='server' returntype='%Boolean'>
681679 try {
682680 set %session.UseSessionCookie = 1 // Always set back to autodetect
You can’t perform that action at this time.
0 commit comments