Call getContents if parseBooks finds new or purged books.
This commit is contained in:
		
							parent
							
								
									e4bbfd5f60
								
							
						
					
					
						commit
						e117a6f037
					
				| 
						 | 
				
			
			@ -176,6 +176,7 @@ function parseBooks() {
 | 
			
		|||
      url      : 'scripts/parsebooks.php',
 | 
			
		||||
      dataType : 'json',
 | 
			
		||||
      success  : function(data, stat, jqo) {
 | 
			
		||||
                    if ( (data.new != 0) || (data.purged != 0) ) getContents();
 | 
			
		||||
                    myToast.reset();
 | 
			
		||||
                    var message = "";
 | 
			
		||||
                    message += "<h2><strong>Books Parsed:</strong></h2>";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user