fix check/uncheck all.
svn path=/plone.app.discussion/trunk/; revision=27734
This commit is contained in:
		
							parent
							
								
									3a9068f643
								
							
						
					
					
						commit
						d3f9b90546
					
				@ -7,12 +7,14 @@ jq(document).ready(function() {
 | 
			
		||||
	      if(jq(this).val()==0){
 | 
			
		||||
	        jq(this).parents("table")
 | 
			
		||||
	               .find("input:checkbox")
 | 
			
		||||
	               .attr("checked","checked")
 | 
			
		||||
	               .attr("checked","checked");
 | 
			
		||||
		    jq(this).val("1");
 | 
			
		||||
	      }
 | 
			
		||||
	      else{
 | 
			
		||||
	        jq(this).parents("table")
 | 
			
		||||
	               .find("input:checkbox")
 | 
			
		||||
	               .attr("checked","")
 | 
			
		||||
	               .attr("checked","");
 | 
			
		||||
            jq(this).val("0");
 | 
			
		||||
	      }
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user