diff --git a/browserid/static/dialog/controllers/addemail_controller.js b/browserid/static/dialog/controllers/addemail_controller.js index af93d494386d72d87a506d8d2f26773f8ab44549..2a28c7afdc57d70a8b91d411a613e0307ba72556 100644 --- a/browserid/static/dialog/controllers/addemail_controller.js +++ b/browserid/static/dialog/controllers/addemail_controller.js @@ -1,5 +1,5 @@ /*jshint browser:true, jQuery: true, forin: true, laxbreak:true */ -/*global BrowserIDIdentities: true, BrowserIDStorage: true, BrowserIDNetwork: true, BrowserIDWait:true, BrowserIDErrors: true, PageController: true */ +/*global BrowserIDIdentities: true, BrowserIDNetwork: true, BrowserIDWait:true, BrowserIDErrors: true, PageController: true */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * @@ -43,7 +43,7 @@ bodyTemplate: "addemail.ejs", bodyVars: { sitename: BrowserIDNetwork.origin, - identities: BrowserIDStorage.getEmails() + identities: BrowserIDIdentities.getStoredIdentities() }, footerTemplate: "bottom-addemail.ejs", footerVars: {} diff --git a/browserid/static/dialog/controllers/chooseemail_controller.js b/browserid/static/dialog/controllers/chooseemail_controller.js index 5b9e5a66cf40eb71422686b0cbb028c80c38c9da..94a0c2cdfbc1bdb4d6d5dd44e3e6beec9f19ff89 100644 --- a/browserid/static/dialog/controllers/chooseemail_controller.js +++ b/browserid/static/dialog/controllers/chooseemail_controller.js @@ -1,5 +1,5 @@ /*jshint browser:true, jQuery: true, forin: true, laxbreak:true */ -/*global BrowserIDStorage: true, BrowserIDNetwork: true, BrowserIDWait:true, BrowserIDErrors: true, PageController: true */ +/*global BrowserIDNetwork: true, BrowserIDWait:true, BrowserIDErrors: true, PageController: true */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * @@ -43,7 +43,7 @@ bodyTemplate: "signin.ejs", bodyVars: { sitename: BrowserIDNetwork.origin, - identities: BrowserIDStorage.getEmails() + identities: BrowserIDIdentities.getStoredIdentities() }, footerTemplate: "bottom-pickemail.ejs", footerVars: {}