1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-12-19 12:57:02 +01:00

Added stub form to change passphrase

This commit is contained in:
Dario Chiappetta
2015-04-03 14:44:04 +02:00
parent e12e7283f1
commit 4dc0a68e0f
8 changed files with 1159 additions and 805 deletions

View File

@@ -62,6 +62,7 @@ Clipperz.PM.UI.MainController = function() {
this.registerForNotificationCenterEvents([
'doLogin', 'registerNewUser', 'showRegistrationForm', 'goBack',
'changePassphrase',
'toggleSelectionPanel', 'toggleSettingsPanel',
'matchMediaQuery', 'unmatchMediaQuery',
'selectAllCards', 'selectRecentCards', 'search', 'tagSelected', 'selectUntaggedCards',
@@ -1206,6 +1207,12 @@ console.log("THE BROWSER IS OFFLINE");
//----------------------------------------------------------------------------
changePassphrase_handler: function(newPassphrase) {
console.log("changePassphrase", newPassphrase);
},
//----------------------------------------------------------------------------
saveChanges: function () {
// TODO: handle errors while savings
return Clipperz.Async.callbacks("MainController.saveChanges", [