mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-01 03:26:36 +08:00 
			
		
		
		
	Fix #18650: Refactor framework/assets/yii.activeForm.js arrow function into traditional function for IE11 compatibility
				
					
				
			This commit is contained in:
		 Marco van 't Wout
					Marco van 't Wout
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							29777af4c2
						
					
				
				
					commit
					7e323ba07c
				
			| @ -329,7 +329,9 @@ | ||||
|                 this.$form = $form; | ||||
|                 var $input = findInput($form, this); | ||||
|  | ||||
|                 var disabled = $input.toArray().reduce((result, next) => result && $(next).is(':disabled'), true); | ||||
|                 var disabled = $input.toArray().reduce(function(result, next) { | ||||
|                     return result && $(next).is(':disabled'); | ||||
|                 }, true); | ||||
|                 if (disabled) { | ||||
|                     return true; | ||||
|                 } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user