summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js/debug/ajax.js
diff options
context:
space:
mode:
authorwei <>2006-12-13 10:07:37 +0000
committerwei <>2006-12-13 10:07:37 +0000
commit3c24d31c69dffb6f65214b6d383d446ac122ff14 (patch)
tree971267876c36893930f84d9663031b154799b10b /framework/Web/Javascripts/js/debug/ajax.js
parent840854be7886236d46d3408de5a084983373b4c7 (diff)
Fixed #488.
Diffstat (limited to 'framework/Web/Javascripts/js/debug/ajax.js')
-rw-r--r--framework/Web/Javascripts/js/debug/ajax.js4
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)