summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwei <>2007-03-31 04:58:35 +0000
committerwei <>2007-03-31 04:58:35 +0000
commit31e2a6844f46941be1c05ff14fff25032d1fda93 (patch)
tree3f4bcc0d89c8025b5799a82eb38a5d8602948542
parent9d2b8de5699f51ca253bac7d188ac109b3aa84b2 (diff)
fix js bug extra comma
-rw-r--r--framework/Web/Javascripts/js/compressed/ajax.js2
-rw-r--r--framework/Web/Javascripts/js/debug/ajax.js4
-rw-r--r--framework/Web/Javascripts/prado/activecontrols/activecontrols3.js4
3 files changed, 3 insertions, 7 deletions
diff --git a/framework/Web/Javascripts/js/compressed/ajax.js b/framework/Web/Javascripts/js/compressed/ajax.js
index cc967514..b6387293 100644
--- a/framework/Web/Javascripts/js/compressed/ajax.js
+++ b/framework/Web/Javascripts/js/compressed/ajax.js
@@ -236,7 +236,7 @@ this.onInit(options);},doCallback:function(event,options)
{if(result.length>0)
{this.hasResults=true;this.updateChoices(result);}
else
-{this.active=false;this.hasResults=false;this.hide();}}},});Prado.WebUI.TTimeTriggeredCallback=Base.extend({constructor:function(options)
+{this.active=false;this.hasResults=false;this.hide();}}}});Prado.WebUI.TTimeTriggeredCallback=Base.extend({constructor:function(options)
{this.options=Object.extend({Interval:1},options||{});Prado.WebUI.TTimeTriggeredCallback.register(this);},startTimer:function()
{setTimeout(this.onTimerEvent.bind(this),100);if(typeof(this.timer)=='undefined'||this.timer==null)
this.timer=setInterval(this.onTimerEvent.bind(this),this.options.Interval*1000);},stopTimer:function()
diff --git a/framework/Web/Javascripts/js/debug/ajax.js b/framework/Web/Javascripts/js/debug/ajax.js
index 1016f435..936f50e4 100644
--- a/framework/Web/Javascripts/js/debug/ajax.js
+++ b/framework/Web/Javascripts/js/debug/ajax.js
@@ -2044,9 +2044,7 @@ Prado.WebUI.TAutoComplete = Class.extend(Prado.WebUI.TAutoComplete,
this.hide();
}
}
- },
-
-
+ }
});
/**
diff --git a/framework/Web/Javascripts/prado/activecontrols/activecontrols3.js b/framework/Web/Javascripts/prado/activecontrols/activecontrols3.js
index 86521ca3..675aabf2 100644
--- a/framework/Web/Javascripts/prado/activecontrols/activecontrols3.js
+++ b/framework/Web/Javascripts/prado/activecontrols/activecontrols3.js
@@ -164,9 +164,7 @@ Prado.WebUI.TAutoComplete = Class.extend(Prado.WebUI.TAutoComplete,
this.hide();
}
}
- },
-
-
+ }
});
/**