summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/Web/Javascripts/source/prado/activecontrols/ajax3.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
index 3cb0e2da..f0be5cb4 100644
--- a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
+++ b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
@@ -156,7 +156,7 @@ Prado.CallbackRequest = jQuery.klass(Prado.PostBack,
getForm: function()
{
- return jQuery('#PRADO_PAGESTATE').get(0).form;
+ return jQuery('#'+this.options.ID).parents('form:first').get(0);
},
/**
@@ -165,7 +165,7 @@ Prado.CallbackRequest = jQuery.klass(Prado.PostBack,
*/
getCallbackUrl : function()
{
- return jQuery('#PRADO_PAGESTATE').get(0).form.action;
+ return jQuery('#'+this.options.ID).parents('form:first').get(0).action;
},
/**