mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 10:39:59 +08:00 
			
		
		
		
	 Michael Härtl
					Michael Härtl
				
			
				
					committed by
					
						 Alexander Makarov
						Alexander Makarov
					
				
			
			
				
	
			
			
			 Alexander Makarov
						Alexander Makarov
					
				
			
						parent
						
							0fcd495583
						
					
				
				
					commit
					e6d7881bbe
				
			| @ -705,10 +705,10 @@ | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
|         var errorAttributes = []; | ||||
|         var $input = findInput($form, this); | ||||
|         var errorAttributes = [], $input; | ||||
|         $.each(data.attributes, function () { | ||||
|             var hasError = (submitting && updateInput($form, this, messages)) || (!submitting && attrHasError($form, this, messages)); | ||||
|             $input = findInput($form, this); | ||||
|  | ||||
|             if (!$input.is(":disabled") && !this.cancelled && hasError) { | ||||
|                 errorAttributes.push(this); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user