Amazon uses new popupService

This commit is contained in:
Gustavo Maximiliano Cortez 2016-08-30 20:47:55 -03:00
commit 63327beceb
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
4 changed files with 25 additions and 45 deletions

View file

@ -62,12 +62,12 @@ angular.module('copayApp.services').service('popupService', function($log, $ioni
* Show a simple alert popup
*
* @param {String} Title
* @param {String} Message
* @param {String} Message (optional)
* @param {Callback} Function (optional)
*/
this.showAlert = function(title, msg, cb) {
var message = msg.message ? msg.message : msg;
var message = (msg && msg.message) ? msg.message : msg;
$log.warn(title + ": " + message);
if (isCordova)