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:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user