improve(webui): clear acquire input on success
This commit is contained in:
		
							parent
							
								
									bcbd2c7f0d
								
							
						
					
					
						commit
						985e71951c
					
				@ -78,6 +78,7 @@ function doAcquireWarframe() {
 | 
				
			|||||||
    });
 | 
					    });
 | 
				
			||||||
    req.done(() => {
 | 
					    req.done(() => {
 | 
				
			||||||
        alert("Warframe added to your inventory! Visit navigation to force an inventory update.");
 | 
					        alert("Warframe added to your inventory! Visit navigation to force an inventory update.");
 | 
				
			||||||
 | 
					        document.getElementById("warframe-to-acquire").value = "";
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -102,6 +103,7 @@ function doAcquireWeapon() {
 | 
				
			|||||||
    });
 | 
					    });
 | 
				
			||||||
    req.done(() => {
 | 
					    req.done(() => {
 | 
				
			||||||
        alert("Weapon added to your inventory! Visit navigation to force an inventory update.");
 | 
					        alert("Weapon added to your inventory! Visit navigation to force an inventory update.");
 | 
				
			||||||
 | 
					        document.getElementById("weapon-to-acquire").value = "";
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user