You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/11/02 15:22:00 UTC
incubator-ponymail git commit: Allow persona to be dropped from
config.js file
Repository: incubator-ponymail
Updated Branches:
refs/heads/master a1b10613a -> 69385fe99
Allow persona to be dropped from config.js file
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/69385fe9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/69385fe9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/69385fe9
Branch: refs/heads/master
Commit: 69385fe99be67b5c77371ac8595734b21fa572f1
Parents: a1b1061
Author: Sebb <se...@apache.org>
Authored: Wed Nov 2 15:21:45 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Wed Nov 2 15:21:45 2016 +0000
----------------------------------------------------------------------
site/js/oauth.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/69385fe9/site/js/oauth.js
----------------------------------------------------------------------
diff --git a/site/js/oauth.js b/site/js/oauth.js
index 4ee4144..8999654 100644
--- a/site/js/oauth.js
+++ b/site/js/oauth.js
@@ -104,7 +104,7 @@ function oauthOptions() {
}
// Mozilla Persona
- if (pm_config.persona.enabled) {
+ if (pm_config.persona && pm_config.persona.enabled) {
var img = document.createElement('img')
img.setAttribute("src", "images/persona.png")
img.setAttribute("title", "Log on with persona")