summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/js/compressed/prado.js3
-rw-r--r--framework/Web/Javascripts/js/debug/prado.js5
-rw-r--r--framework/Web/Javascripts/prado/controls.js5
-rw-r--r--framework/Web/UI/WebControls/TImageButton.php4
4 files changed, 3 insertions, 14 deletions
diff --git a/framework/Web/Javascripts/js/compressed/prado.js b/framework/Web/Javascripts/js/compressed/prado.js
index a095c52d..f338cb67 100644
--- a/framework/Web/Javascripts/js/compressed/prado.js
+++ b/framework/Web/Javascripts/js/compressed/prado.js
@@ -358,8 +358,7 @@ doPostBack=onclicked;}
if(doPostBack)
this.onPostBack(event,options);if(typeof(onclicked)=="boolean"&&!onclicked)
Event.stop(event);},onPostBack:function(event,options)
-{Prado.PostBack(event,options);}};Prado.WebUI.TButton=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TLinkButton=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TCheckBox=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TBulletedList=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TImageMap=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TImageButton=Class.extend(Prado.WebUI.PostBackControl);Object.extend(Prado.WebUI.TImageButton.prototype,{onInit:function(options)
-{this.hasXYInput=false;},onPostBack:function(event,options)
+{Prado.PostBack(event,options);}};Prado.WebUI.TButton=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TLinkButton=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TCheckBox=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TBulletedList=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TImageMap=Class.extend(Prado.WebUI.PostBackControl);Prado.WebUI.TImageButton=Class.extend(Prado.WebUI.PostBackControl);Object.extend(Prado.WebUI.TImageButton.prototype,{onPostBack:function(event,options)
{if(!this.hasXYInput)
{this.addXYInput(event,options);this.hasXYInput=true;}
Prado.PostBack(event,options);},addXYInput:function(event,options)
diff --git a/framework/Web/Javascripts/js/debug/prado.js b/framework/Web/Javascripts/js/debug/prado.js
index aa319e02..41415d1f 100644
--- a/framework/Web/Javascripts/js/debug/prado.js
+++ b/framework/Web/Javascripts/js/debug/prado.js
@@ -3319,11 +3319,6 @@ Prado.WebUI.TImageMap = Class.extend(Prado.WebUI.PostBackControl);
Prado.WebUI.TImageButton = Class.extend(Prado.WebUI.PostBackControl);
Object.extend(Prado.WebUI.TImageButton.prototype,
{
- onInit : function(options)
- {
- this.hasXYInput = false;
- },
-
/**
* Override parent onPostBack function, tried to add hidden forms
* inputs to capture x,y clicked point.
diff --git a/framework/Web/Javascripts/prado/controls.js b/framework/Web/Javascripts/prado/controls.js
index 890b5e66..64fb1a30 100644
--- a/framework/Web/Javascripts/prado/controls.js
+++ b/framework/Web/Javascripts/prado/controls.js
@@ -63,11 +63,6 @@ Prado.WebUI.TImageMap = Class.extend(Prado.WebUI.PostBackControl);
Prado.WebUI.TImageButton = Class.extend(Prado.WebUI.PostBackControl);
Object.extend(Prado.WebUI.TImageButton.prototype,
{
- onInit : function(options)
- {
- this.hasXYInput = false;
- },
-
/**
* Override parent onPostBack function, tried to add hidden forms
* inputs to capture x,y clicked point.
diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php
index a1ca7e2f..842a78ea 100644
--- a/framework/Web/UI/WebControls/TImageButton.php
+++ b/framework/Web/UI/WebControls/TImageButton.php
@@ -350,12 +350,12 @@ class TImageClickEventParameter extends TEventParameter
* the X coordinate of the clicking point
* @var integer
*/
- public $_x=0;
+ private $_x=0;
/**
* the Y coordinate of the clicking point
* @var integer
*/
- public $_y=0;
+ private $_y=0;
/**
* Constructor.