ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: Allow persona to be dropped from config.js file
Date Wed, 02 Nov 2016 15:22:00 GMT
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 <sebb@apache.org>
Authored: Wed Nov 2 15:21:45 2016 +0000
Committer: Sebb <sebb@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")


Mime
View raw message