summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js/compressed/prado.js
diff options
context:
space:
mode:
authorwei <>2006-12-10 23:55:49 +0000
committerwei <>2006-12-10 23:55:49 +0000
commit840854be7886236d46d3408de5a084983373b4c7 (patch)
tree8a8c22463bc3ac7f556633e790818d724bc52ed0 /framework/Web/Javascripts/js/compressed/prado.js
parent3c03a42d1edb0ec26110ace00f42e156cabff67b (diff)
Fixed #470
Diffstat (limited to 'framework/Web/Javascripts/js/compressed/prado.js')
-rw-r--r--framework/Web/Javascripts/js/compressed/prado.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/js/compressed/prado.js b/framework/Web/Javascripts/js/compressed/prado.js
index 9e0b9ba8..f369a5f3 100644
--- a/framework/Web/Javascripts/js/compressed/prado.js
+++ b/framework/Web/Javascripts/js/compressed/prado.js
@@ -345,8 +345,8 @@ elements[i].checked=true;}},checkIndices:function(elements,indices)
{new Insertion.Top(element,content);},after:function(element,content)
{new Insertion.After(element,content);},before:function(element,content)
{new Insertion.Before(element,content);}}
-Prado.WebUI=Class.create();Prado.WebUI.PostBackControl=Class.create();Prado.WebUI.PostBackControl.prototype={_elementOnClick:null,initialize:function(options)
-{this.element=$(options.ID);if(this.onInit)
+Prado.WebUI=Class.create();Prado.WebUI.PostBackControl=Class.create();Prado.WebUI.PostBackControl.prototype={initialize:function(options)
+{this._elementOnClick=null,this.element=$(options.ID);if(this.onInit)
this.onInit(options);},onInit:function(options)
{if(typeof(this.element.onclick)=="function")
{this._elementOnClick=this.element.onclick;this.element.onclick=null;}