From 1827f7625450af230f458ef922bca7649a43e3b7 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Thu, 22 Sep 2011 09:14:23 +0100 Subject: [PATCH] Calling BrowserIDIdentities.getStoredIdentities instead of BrowserIDStorage.getEmails --- browserid/static/dialog/controllers/addemail_controller.js | 4 ++-- browserid/static/dialog/controllers/chooseemail_controller.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/browserid/static/dialog/controllers/addemail_controller.js b/browserid/static/dialog/controllers/addemail_controller.js index af93d4943..2a28c7afd 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 5b9e5a66c..94a0c2cdf 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: {} -- GitLab