summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-10 20:20:17 +0000
committerctrlaltca@gmail.com <>2011-05-10 20:20:17 +0000
commit65b4ddd7d3b9317585acf2f9189a3bd406dea4bf (patch)
tree6ac2119eee46b31cf94008942834f4f96ff54519
parent9be85680cfb74fbb5a566822aeb7d38f7c2dc8ca (diff)
fix for #319
-rw-r--r--framework/Web/Javascripts/source/prado/controls/controls.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/Web/Javascripts/source/prado/controls/controls.js b/framework/Web/Javascripts/source/prado/controls/controls.js
index dd19a1a7..43dd889e 100644
--- a/framework/Web/Javascripts/source/prado/controls/controls.js
+++ b/framework/Web/Javascripts/source/prado/controls/controls.js
@@ -13,7 +13,7 @@ Prado.WebUI.PostBackControl.prototype =
Prado.Registry.set(options.ID, this);
if(this.element)
{
- // Issue 181
+ // Issue 181
this.element.stopObserving();
if(this.onInit)
this.onInit(options);
@@ -199,7 +199,7 @@ Prado.WebUI.DefaultButton.prototype =
{
initialize : function(options)
{
- // Issue 181
+ // Issue 181
$(options['Panel']).stopObserving();
this.options = options;
this._event = this.triggerEvent.bindEvent(this);
@@ -216,7 +216,6 @@ Prado.WebUI.DefaultButton.prototype =
if(defaultButton)
{
this.triggered = true;
- $('PRADO_POSTBACK_TARGET').value = this.options.EventTarget;
Event.fireEvent(defaultButton, this.options['Event']);
Event.stop(ev);
}