Fix text area without readonly to copy from iOS

This commit is contained in:
Gustavo Maximiliano Cortez 2014-10-16 15:56:52 -03:00
commit 6c0ff1aafc
5 changed files with 4 additions and 35 deletions

View file

@ -5,15 +5,6 @@ angular.module('copayApp.controllers').controller('CopayersController',
$scope.isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0;
$scope.hideAdv = true;
$scope.sendEmail = function(backupPlainText) {
var w = $rootScope.wallet;
var link = 'mailto:'
+ '?subject=' + escape(backupService.getFilename(w))
+ '&body=' + escape(backupPlainText) + '';
window.location.href = link;
};
$scope.skipBackup = function() {
var w = $rootScope.wallet;
w.setBackupReady(true);

View file

@ -27,15 +27,6 @@ angular.module('copayApp.controllers').controller('MoreController',
decimals: 8
}];
$scope.sendEmail = function(backupPlainText) {
var w = $rootScope.wallet;
var link = 'mailto:'
+ '?subject=' + escape(backupService.getFilename(w))
+ '&body=' + escape(backupPlainText) + '';
window.location.href = link;
};
$scope.selectedAlternative = {
name: w.settings.alternativeName,
isoCode: w.settings.alternativeIsoCode