Skip to content

Commit

Permalink
Merge pull request #33733 from dimagi/revert-33727-rc/delay-get-detai…
Browse files Browse the repository at this point in the history
…ls-call

Revert "delay call to get_details"
  • Loading branch information
Robert-Costello authored Nov 9, 2023
2 parents 79eda90 + d88937f commit bb206df
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,8 @@ hqDefine("cloudcare/js/formplayer/menus/views", function () {
}

$.when(FormplayerFrontend.getChannel().request("icon:click", currentUrlToObject)).done(function () {
setTimeout(() => {
self.reloadCase(self.model.get('id'));
resetIcon();
}, 500);
self.reloadCase(self.model.get('id'));
resetIcon();
}).fail(function () {
resetIcon();
});
Expand Down

0 comments on commit bb206df

Please sign in to comment.