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: Oops - ensure correct precedence
Date Fri, 04 Nov 2016 13:29:47 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 5cbb28388 -> ca3a547ef


Oops - ensure correct precedence

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/ca3a547e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/ca3a547e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/ca3a547e

Branch: refs/heads/master
Commit: ca3a547efc6be72c8b057a656334eda103465643
Parents: 5cbb283
Author: Sebb <sebb@apache.org>
Authored: Fri Nov 4 13:29:12 2016 +0000
Committer: Sebb <sebb@apache.org>
Committed: Fri Nov 4 13:29:12 2016 +0000

----------------------------------------------------------------------
 site/js/dev/ponymail_dom_helpers.js | 2 +-
 site/js/ponymail.js                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/ca3a547e/site/js/dev/ponymail_dom_helpers.js
----------------------------------------------------------------------
diff --git a/site/js/dev/ponymail_dom_helpers.js b/site/js/dev/ponymail_dom_helpers.js
index f08fb3e..0cd4b9f 100644
--- a/site/js/dev/ponymail_dom_helpers.js
+++ b/site/js/dev/ponymail_dom_helpers.js
@@ -238,7 +238,7 @@ function popup(title, body, timeout, pid, wloc) {
     if (obj) {
         obj.innerHTML = ""
         obj.style.display = 'block'
-        obj.innerHTML = "<h3>" + title + "</h3><p>" + body + "</p><p><a
class='btn btn-success' href='javascript:void(0);' onclick='popup_close(\""+wloc?wloc:''+"\")'>Got
it!</a></p>"
+        obj.innerHTML = "<h3>" + title + "</h3><p>" + body + "</p><p><a
class='btn btn-success' href='javascript:void(0);' onclick='popup_close(\""+(wloc?wloc:'')+"\")'>Got
it!</a></p>"
         if (pid) {
             obj.innerHTML += "<br/><input type='checkbox' onclick='setPopup(\""+pid+"\",
this.checked);' id='popre'><label for='popre'>Don't show this again</label>"
         }

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/ca3a547e/site/js/ponymail.js
----------------------------------------------------------------------
diff --git a/site/js/ponymail.js b/site/js/ponymail.js
index 6618dc4..a28c5b6 100644
--- a/site/js/ponymail.js
+++ b/site/js/ponymail.js
@@ -1334,7 +1334,7 @@ function popup(title, body, timeout, pid, wloc) {
     if (obj) {
         obj.innerHTML = ""
         obj.style.display = 'block'
-        obj.innerHTML = "<h3>" + title + "</h3><p>" + body + "</p><p><a
class='btn btn-success' href='javascript:void(0);' onclick='popup_close(\""+wloc?wloc:''+"\")'>Got
it!</a></p>"
+        obj.innerHTML = "<h3>" + title + "</h3><p>" + body + "</p><p><a
class='btn btn-success' href='javascript:void(0);' onclick='popup_close(\""+(wloc?wloc:'')+"\")'>Got
it!</a></p>"
         if (pid) {
             obj.innerHTML += "<br/><input type='checkbox' onclick='setPopup(\""+pid+"\",
this.checked);' id='popre'><label for='popre'>Don't show this again</label>"
         }


Mime
View raw message