From 815d2e41a3f5cd24d3edbec574cb90f3fbe2e117 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Wed, 14 Sep 2011 16:57:01 -0700 Subject: [PATCH] renaming "noauthentication" to "cannotAuthenticate" --- browserid/static/dialog/controllers/authenticate_controller.js | 2 +- browserid/static/dialog/style.css | 2 +- browserid/static/dialog/views/authenticate.ejs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/browserid/static/dialog/controllers/authenticate_controller.js b/browserid/static/dialog/controllers/authenticate_controller.js index 4d62b095a..6bd787e65 100644 --- a/browserid/static/dialog/controllers/authenticate_controller.js +++ b/browserid/static/dialog/controllers/authenticate_controller.js @@ -102,7 +102,7 @@ if (authenticated) { self.close("authenticate:authenticated"); } else { - self.find("#nosuchaccount").hide().fadeIn(400); + self.find("#cannotAuthenticate").hide().fadeIn(400); } }, self.getErrorDialog(BrowserIDErrors.authentication)); } diff --git a/browserid/static/dialog/style.css b/browserid/static/dialog/style.css index 7d39089cc..8c40057db 100644 --- a/browserid/static/dialog/style.css +++ b/browserid/static/dialog/style.css @@ -180,7 +180,7 @@ div.content > div.summary { padding: 0 .4em 0 .4em; } -#createContainer, #passwordContainer, #nosuchaccount { +#createContainer, #passwordContainer, #cannotAuthenticate { display: none; } diff --git a/browserid/static/dialog/views/authenticate.ejs b/browserid/static/dialog/views/authenticate.ejs index 1423bd12a..1e2338d33 100644 --- a/browserid/static/dialog/views/authenticate.ejs +++ b/browserid/static/dialog/views/authenticate.ejs @@ -22,7 +22,7 @@ <a href="#" id="authenticate">Sign In</a> </div> - <div id="nosuchaccount"> + <div id="cannotAuthenticate"> The account cannot be logged in with this username and password. </div> -- GitLab