[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: tbody ins
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: tbody inside table. |
Date: |
Sat, 25 Feb 2017 20:32:59 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant-frontends.
The following commit(s) were added to refs/heads/master by this push:
new ff5005a tbody inside table.
ff5005a is described below
commit ff5005a9e6ed6833ef406447bd5c8a89b14a69b5
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Feb 25 20:32:28 2017 +0100
tbody inside table.
---
talerfrontends/blog/static/backoffice.js | 3 ++-
talerfrontends/blog/templates/backoffice.html | 8 +++++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/talerfrontends/blog/static/backoffice.js
b/talerfrontends/blog/static/backoffice.js
index f6c90a0..5bc8b6a 100644
--- a/talerfrontends/blog/static/backoffice.js
+++ b/talerfrontends/blog/static/backoffice.js
@@ -39,6 +39,7 @@ function get_history(){
console.log("Got invalid JSON");
if(0 == history.length){
console.log("Got no transactions");
+ return;
}
var table = document.getElementById("history");
for (var i=0; i<history.length; i++){
@@ -47,8 +48,8 @@ function get_history(){
var row = document.createElement("tr");
row.innerHTML = `<td>${entry.order_id}</td>`;
table.appendChild(row);
- console.log("->", table.innerHTML);
}
+ table.style.visibility = "";
}
else{
console.log("error: status != 200");
diff --git a/talerfrontends/blog/templates/backoffice.html
b/talerfrontends/blog/templates/backoffice.html
index ccf5db2..10a2784 100644
--- a/talerfrontends/blog/templates/backoffice.html
+++ b/talerfrontends/blog/templates/backoffice.html
@@ -5,9 +5,11 @@
the user can see the money flow from Taler transactions to
wire transfers and viceversa.</p>
<table id="history" style="visibility: hidden;">
- <tr>
- <th>Order ID</th>
- </tr>
+ <tbody>
+ <tr>
+ <th>Order ID</th>
+ </tr>
+ </tbody>
</table>
{% endblock main %}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant-frontends] branch master updated: tbody inside table.,
gnunet <=