Don't apply settings when press Enter on textarea
This commit is contained in:
		
							parent
							
								
									de7d627141
								
							
						
					
					
						commit
						622298f6be
					
				|  | @ -161,11 +161,12 @@ define([ | |||
|                 if (e.isDefaultPrevented()) | ||||
|                     return; | ||||
| 
 | ||||
|                 if (e.keyCode === Common.UI.Keys.RETURN) | ||||
|                     this._doChange(e); | ||||
|                 if (e.keyCode === Common.UI.Keys.RETURN) { | ||||
|                     e.stopPropagation(); | ||||
|                 } | ||||
|                 if (e.keyCode == Common.UI.Keys.ESC) | ||||
|                     this.setValue(this.value); | ||||
|                 if (e.keyCode==Common.UI.Keys.RETURN || e.keyCode==Common.UI.Keys.ESC) | ||||
|                 if (e.keyCode==Common.UI.Keys.ESC) | ||||
|                     this.trigger('inputleave', this); | ||||
|             }, | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue