From 840854be7886236d46d3408de5a084983373b4c7 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 10 Dec 2006 23:55:49 +0000 Subject: Fixed #470 --- framework/Web/Javascripts/js/compressed/prado.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/Javascripts/js/compressed/prado.js') 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;} -- cgit v1.2.3