diff options
| -rw-r--r-- | www/js/LogCtrl.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/LogCtrl.js b/www/js/LogCtrl.js index f9504034..a58e2e2e 100644 --- a/www/js/LogCtrl.js +++ b/www/js/LogCtrl.js @@ -136,7 +136,8 @@ angular.module('zmApp.controllers').controller('zmApp.LogCtrl', ['$scope', '$roo ZMDataModel.zmLog("Email plugin not found", "error"); }); } else { - console.log("Skipping email module as cordova does not exist"); + console.log("Using default email client to send data"); + window.open('mailto:'+encodeURIComponent(zm.authoremail)+'?subject=zmNinja%20Logs&body='+encodeURIComponent(logstring)); } } |
