diff --git a/ffw/BasicCommunicationRPC.js b/ffw/BasicCommunicationRPC.js index f9955a122..7ab0b812a 100644 --- a/ffw/BasicCommunicationRPC.js +++ b/ffw/BasicCommunicationRPC.js @@ -407,6 +407,15 @@ FFW.BasicCommunication = FFW.RPCObserver ); } if (request.method == 'BasicCommunication.DialNumber') { + if (SDL.AlertPopUp.active) { + 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) {