diff options
Diffstat (limited to 'www/js/LogCtrl.js')
| -rw-r--r-- | www/js/LogCtrl.js | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/www/js/LogCtrl.js b/www/js/LogCtrl.js index b7be82ba..af7b037e 100644 --- a/www/js/LogCtrl.js +++ b/www/js/LogCtrl.js @@ -155,34 +155,7 @@ angular.module('zmApp.controllers').controller('zmApp.LogCtrl', ['$scope', '$roo logstring = logstring.replace(re4, "<server>"); } - cordova.plugins.email.isAvailable( - function (isAvailable) { - - if (isAvailable) { - cordova.plugins.email.open({ - to: zm.authoremail, - subject: $rootScope.appName + ' logs', - body: logstring - }); - } - else { - // kEmailNotConfigured - $rootScope.zmPopup = SecuredPopups.show('alert', - { - title: $translate.instant('kError'), - template: $translate.instant('kEmailNotConfigured'), - okText: $translate.instant('kButtonOk'), - cancelText: $translate.instant('kButtonCancel'), - }); - - } - - }); - - - - - // window.plugins.emailComposer.showEmailComposerWithCallback(callback, $rootScope.appName + ' logs', logstring, [zm.authoremail]); + window.plugins.emailComposer.showEmailComposerWithCallback(callback, $rootScope.appName + ' logs', logstring, [zm.authoremail]); } else |
