0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-24 00:29:35 +00:00
salesagility_SuiteCRM/jssource/src_files/include/SubPanel
Christoph Reiter af33ca3e4b Fixed #4872 - Fix some async subpanel actions failing if refresh_page=1
In case the subpanel layout uses refresh_page=1 then showSubPanel() will start an
async request and after that reload the page. In many cases this will lead to the
just started request being aborted and the page gets reloaded without anything changing.

This was introduced in 829a06f5b8 where the previously sync call was replaced with an
async one.

This is most visible for me in the "Users" module were I can't remove security groups
through the subpanel and it just refreshes the page without removing the group.

Fix this my moving the page refresh check in the ajax callback so the page gets only reloaded
once the request is finished.
2019-01-02 11:03:51 +01:00
..
SubPanelTiles.js Fixed #4872 - Fix some async subpanel actions failing if refresh_page=1 2019-01-02 11:03:51 +01:00