summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js/ajax.js
diff options
context:
space:
mode:
authorwei <>2006-06-24 05:48:57 +0000
committerwei <>2006-06-24 05:48:57 +0000
commit7e5dd26cd604318cf4b6d624e8080c801bfb38d0 (patch)
tree9a77ae11183741d8c5c95a1eb4c644a1d95bc7de /framework/Web/Javascripts/js/ajax.js
parenta6be5564823be40670e0cad8dc758557dbd37549 (diff)
Fixed #253
Diffstat (limited to 'framework/Web/Javascripts/js/ajax.js')
-rw-r--r--framework/Web/Javascripts/js/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/js/ajax.js b/framework/Web/Javascripts/js/ajax.js
index fbbd3ecf..40a27f00 100644
--- a/framework/Web/Javascripts/js/ajax.js
+++ b/framework/Web/Javascripts/js/ajax.js
@@ -199,7 +199,7 @@ this.onInit(options);},doCallback:function(event,options)
{if(!this.active)
{new Prado.CallbackRequest(options.EventTarget,options);Event.stop(event);}},onClick:function(event)
{var element=Event.findElement(event,'LI');this.index=element.autocompleteIndex;this.selectEntry();this.hide();Event.fireEvent(this.element,"change");},getUpdatedChoices:function()
-{options=new Array(this.getToken(),"__TAutComplete_onSuggest__");Prado.Callback(this.options.EventTarget,options,null,this.options);},onComplete:function(request,boundary)
+{options=new Array(this.getToken(),"__TAutoComplete_onSuggest__");Prado.Callback(this.options.EventTarget,options,null,this.options);},onComplete:function(request,boundary)
{result=Prado.Element.extractContent(request.responseText,boundary);if(typeof(result)=="string"&&result.length>0)
this.updateChoices(result);}});Prado.WebUI.TCallbackTimer=Base.extend({count:0,timeout:0,constructor:function(options)
{this.options=Object.extend({Interval:1,DecayRate:0},options||{})