diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-07 20:40:56 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-07 20:40:56 -0500 |
| commit | 4b848e5be257721bc0df52b1ba2426fa1a731e8f (patch) | |
| tree | caca0f4f71f44727db4b686979e96a5ddeccffcc /www/js | |
| parent | f3ca330f49bb1882cf8faa675ea48e1a38391e09 (diff) | |
#69
Former-commit-id: dfb133f51ff3dc4544102699e8ec0932b550e61e
Diffstat (limited to 'www/js')
| -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)); } } |
