From 3c24d31c69dffb6f65214b6d383d446ac122ff14 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 13 Dec 2006 10:07:37 +0000 Subject: Fixed #488. --- framework/Web/Javascripts/js/debug/ajax.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'framework/Web/Javascripts/js/debug') 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) -- cgit v1.2.3