forked from OpenWF/SpaceNinjaServer
		
	fix(webui): properly deselect active focus school so unlocking is free (#2737)
Reviewed-on: OpenWF/SpaceNinjaServer#2737 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									ed596aa3f3
								
							
						
					
					
						commit
						3fedc701f1
					
				@ -2339,7 +2339,7 @@ function unlockFocusSchool(upgradeType) {
 | 
				
			|||||||
        $.post({
 | 
					        $.post({
 | 
				
			||||||
            url: "/api/focus.php?" + window.authz + "&op=5",
 | 
					            url: "/api/focus.php?" + window.authz + "&op=5",
 | 
				
			||||||
            contentType: "text/plain",
 | 
					            contentType: "text/plain",
 | 
				
			||||||
            data: "{}"
 | 
					            data: JSON.stringify({ FocusType: null })
 | 
				
			||||||
        }).done(function () {
 | 
					        }).done(function () {
 | 
				
			||||||
            // Unlock the way now
 | 
					            // Unlock the way now
 | 
				
			||||||
            $.post({
 | 
					            $.post({
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user