[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontends] 02/02: Trimming long strings sho
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontends] 02/02: Trimming long strings shown in popup. |
Date: |
Tue, 28 Feb 2017 16:09:21 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant-frontends.
commit fac305eff4316a70427552e007223028fdea4182
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Feb 28 16:08:32 2017 +0100
Trimming long strings shown in popup.
---
talerfrontends/blog/static/backoffice.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/talerfrontends/blog/static/backoffice.js
b/talerfrontends/blog/static/backoffice.js
index cd6cd00..237e08a 100644
--- a/talerfrontends/blog/static/backoffice.js
+++ b/talerfrontends/blog/static/backoffice.js
@@ -78,9 +78,9 @@ function track_order(order_id, instance){
for(var j=0; j<entry.coins.length; j++){
var coin = entry.coins[j];
var row = document.createElement("tr");
- row.innerHTML = `<td>${entry.wtid}</td>
+ row.innerHTML = `<td>${entry.wtid.substring(0, 8)}...</td>
<td>${amount_to_string(coin.amount_with_fee)}</td>
- <td>${coin.coin_pub}</td>
+ <td>${coin.coin_pub.substring(0, 8)}...</td>
<td>${parse_date(entry.execution_time)}</td>`;
//console.log(row.outerHTML);
table.appendChild(row);
--
To stop receiving notification emails like this one, please contact
address@hidden