Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ffw/BasicCommunicationRPC.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,15 @@ FFW.BasicCommunication = FFW.RPCObserver
);
}
if (request.method == 'BasicCommunication.DialNumber') {
if (SDL.AlertPopUp.active) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JackLivio Is the AlertPopUp is a method of SDL RPC ???

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JackLivio

FFW.BasicCommunication.sendError(
SDL.SDLModel.data.resultCode.REJECTED,
request.id,
request.method,
'Alert Active!'
);
return;
}
SDL.PopUp.create().appendTo('body').popupActivate(
'Would you like to dial ' + request.params.number + ' ?',
function(result) {
Expand Down