Merge pull request #3596 from cmgustavo/bug/normalize-preferences-items

Normalize items preferences
This commit is contained in:
Gustavo Maximiliano Cortez 2015-12-04 13:36:03 -03:00
commit 909c010921
5 changed files with 58 additions and 81 deletions

View file

@ -7,6 +7,9 @@ angular.module('copayApp.controllers').controller('preferencesDeleteWordsControl
var msg = gettext('Are you sure you want to delete the backup words?');
var successMsg = gettext('Backup words deleted');
if (fc.credentials && !fc.credentials.mnemonicEncrypted && !fc.credentials.mnemonic)
self.deleted = true;
self.delete = function() {
confirmDialog.show(msg,
function(ok) {