Skip to content

Commit

Permalink
moving Alert to after postRequestPromise
Browse files Browse the repository at this point in the history
  • Loading branch information
dpessoa committed Oct 7, 2020
1 parent d7d75bc commit ac4f5ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions view/rooms/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,7 @@ function closePagingModal() {
}

function pageImcTeam() {
closePagingModal();
alert('Thanks, IMC team was paged and it’s working hard to fix the issue');

const message = `Paging IMC Team, help needed in Room: ${window.location.href}`;
const serviceReq = {
name: 'pagerServices',
Expand All @@ -931,6 +930,8 @@ function pageImcTeam() {
],
};
u.postPromiseWithUrl(GET_ACTIONS, serviceReq);
closePagingModal();
alert('Thanks, IMC team was paged and it’s working hard to fix the issue');
}

/**
Expand Down

0 comments on commit ac4f5ee

Please sign in to comment.