summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/source/prado/scriptaculous-adapter.js')
-rw-r--r--framework/Web/Javascripts/source/prado/scriptaculous-adapter.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js b/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js
index 3c186d3e..febe6ad9 100644
--- a/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js
+++ b/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js
@@ -202,6 +202,9 @@ Prado.PostBack = function(event,options)
/*if(options['StopEvent']) */
Event.stop(event);
Event.fireEvent(form,"submit");
+
+ $('PRADO_POSTBACK_TARGET').value = '';
+ $('PRADO_POSTBACK_PARAMETER').value = '';
};
/**
@@ -283,7 +286,7 @@ Prado.Element =
{
var el = $(element);
if(!el) return;
- if((attribute == "disabled" || attribute == "multiple" || attribute == "readonly") && value==false)
+ if((attribute == "disabled" || attribute == "multiple" || attribute == "readonly" || attribute == "href") && value==false)
el.removeAttribute(attribute);
else if(attribute.match(/^on/i)) //event methods
{