After form is posted in background we should not update the form area. This causes problem if form area has embedded <script> block.

Removed this requirement. Instead now we reset form after update. Now I think we need to check for errors before reseting the form. This will help user to modify data and resubmit. I'll do that next.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671394 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Anil Patel
2008-06-25 01:53:49 +00:00
parent 3feb26b6d8
commit d5945e0433
2 changed files with 7 additions and 2 deletions
@@ -126,7 +126,6 @@ under the License.
<form name="EditExampleBackgroundSubmit" type="single" extends="EditExample" target="updateExampleAjax">
<alt-target use-when="example==null" target="createExampleAjax"/>
<on-event-update-area event-type="submit" area-id="ListExamplesAjax" area-target="ListExampleFormOnly"/>
<on-event-update-area event-type="submit" area-id="EditExampleAjax" area-target="CreateExampleFormOnly"/>
</form>
<!-- ExampleItem -->