Add view for consuming new batch ID; misc. tweaks for grids etc.
This commit is contained in:
		
							parent
							
								
									6ae129ea24
								
							
						
					
					
						commit
						8186366b69
					
				
					 5 changed files with 76 additions and 38 deletions
				
			
		| 
						 | 
				
			
			@ -27,13 +27,16 @@ function disable_filter_options() {
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Convenience function to disable a form button.
 | 
			
		||||
 * Convenience function to disable a UI button.
 | 
			
		||||
 */
 | 
			
		||||
function disable_button(button, label) {
 | 
			
		||||
    if (label) {
 | 
			
		||||
        $(button).html(label + ", please wait...");
 | 
			
		||||
    $(button).button('disable');
 | 
			
		||||
    if (label === undefined) {
 | 
			
		||||
        label = "Working, please wait...";
 | 
			
		||||
    }
 | 
			
		||||
    if (label) {
 | 
			
		||||
        $(button).button('option', 'label', label);
 | 
			
		||||
    }
 | 
			
		||||
    $(button).attr('disabled', 'disabled');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue