Author: nbelaevski
Date: 2008-09-08 13:01:24 -0400 (Mon, 08 Sep 2008)
New Revision: 10360
Modified:
branches/3.2.x/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
Log:
https://jira.jboss.org/jira/browse/RF-4420
Modified:
branches/3.2.x/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
===================================================================
---
branches/3.2.x/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-09-08
16:56:38 UTC (rev 10359)
+++
branches/3.2.x/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-09-08
17:01:24 UTC (rev 10360)
@@ -19,6 +19,7 @@
var paramNames = [];
+ var oldTarget = form.target;
if(target){
form.target=target;
}
@@ -52,7 +53,7 @@
form.submit();
}
- _clearJSFFormParameters(formName,target,paramNames);
+ _clearJSFFormParameters(formName,oldTarget,paramNames);
} else {
alert("Form "+formName+" not found in document");