Task #60875
closedIRRE: On changing a dropdown with onchange only reload that one IRRE-record
0%
Description
When a dropdown inside a child-record (using IRRE) is configured to force a postback and reload of the record because more/less fields might be visible currently the full record is reloaded. Allow to only reload that one IRRE-record (through AJAX, not with a full page-reload).
Updated by Martin Sonnenholzer almost 10 years ago
Is there even any need to reload (and save) a record for onchange operations, or is this just an old artifact?
Updated by Stefan Neufeind almost 10 years ago
Depending on the chosen type certain fields are shown or hidden. Maybe that could even be solved on the client-side, but currently re-rendering the form is done on the server.
Special case for IRRE is that in case an IRRE-record is closed and you open it, it is already dynamically fetched from the server. So upon change of a type-field inside the IRRE-record it should be (easily?) possible to use that same way to just fetch that IRRE-record again instead of the whole page - which currently leads to maybe the browser jumping to the top of the page, back to the first tab (though the IRRE-fields you edited are on the second tab), all other IRRE-fields being closed now and their state being reloaded etc. A real mess for no obvious reason.
Updated by Alexander Opitz almost 9 years ago
- Status changed from New to Closed
Closing as duplicate of #24398