diff options
author | wei <> | 2006-12-13 10:07:37 +0000 |
---|---|---|
committer | wei <> | 2006-12-13 10:07:37 +0000 |
commit | 3c24d31c69dffb6f65214b6d383d446ac122ff14 (patch) | |
tree | 971267876c36893930f84d9663031b154799b10b /framework/Web/Javascripts/js/debug | |
parent | 840854be7886236d46d3408de5a084983373b4c7 (diff) |
Fixed #488.
Diffstat (limited to 'framework/Web/Javascripts/js/debug')
-rw-r--r-- | framework/Web/Javascripts/js/debug/ajax.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/js/debug/ajax.js b/framework/Web/Javascripts/js/debug/ajax.js index 9b5fe1ef..ed5694cf 100644 --- a/framework/Web/Javascripts/js/debug/ajax.js +++ b/framework/Web/Javascripts/js/debug/ajax.js @@ -2132,9 +2132,11 @@ Prado.WebUI.TActiveTextBox = Class.extend(Prado.WebUI.TTextBox, {
onInit : function(options)
{
+ this.options=options;
if(options['TextMode'] != 'MultiLine')
Event.observe(this.element, "keydown", this.handleReturnKey.bind(this));
- Event.observe(this.element, "change", this.doCallback.bindEvent(this,options));
+ if(this.options['AutoPostBack']==true)
+ Event.observe(this.element, "change", this.doCallback.bindEvent(this,options));
},
doCallback : function(event, options)
|