diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-11-21 13:42:08 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-11-26 11:42:50 +0100 |
commit | 2594d162d3ab7c78eb24d5dd35b3d8a21e6a038d (patch) | |
tree | 34098a510154387b36a3c0d51040bbf6feaec86c /framework | |
parent | ab44dfc8467227f15751651a54c365e171e44a09 (diff) |
Fixed TTextBox's AutoPostBack=true
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/Javascripts/source/prado/controls/controls.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/controls/controls.js b/framework/Web/Javascripts/source/prado/controls/controls.js index d576c3eb..69632cfb 100644 --- a/framework/Web/Javascripts/source/prado/controls/controls.js +++ b/framework/Web/Javascripts/source/prado/controls/controls.js @@ -369,7 +369,12 @@ Prado.WebUI.TTextBox = jQuery.klass(Prado.WebUI.PostBackControl, if(this.options['TextMode'] != 'MultiLine') this.observe(this.element, "keydown", this.handleReturnKey.bind(this)); if(this.options['AutoPostBack']==true) - this.observe(this.element, "change", jQuery.proxy(Prado.PostBack,this,options)); + this.observe(this.element, "change", jQuery.proxy(this.doPostback,this,options)); + }, + + doPostback : function(options, event) + { + new Prado.PostBack(options, event); }, handleReturnKey : function(e) |