Author: pyaschenko
Date: 2008-09-08 12:56:38 -0400 (Mon, 08 Sep 2008)
New Revision: 10359
Modified:
trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
Log:
https://jira.jboss.org/jira/browse/RF-4420
Modified: trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
===================================================================
---
trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-09-08
16:52:36 UTC (rev 10358)
+++
trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-09-08
16:56:38 UTC (rev 10359)
@@ -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");