gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant-frontends] branch master updated: Using XPa


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant-frontends] branch master updated: Using XPath hepler.
Date: Wed, 01 Mar 2017 22:33:33 +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 d4428e0  Using XPath hepler.
d4428e0 is described below

commit d4428e0a0357c995b7cd8087bc0c2a97a17fe5a1
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Mar 1 22:33:13 2017 +0100

    Using XPath hepler.
---
 talerfrontends/donations/static/backoffice.js | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/talerfrontends/donations/static/backoffice.js 
b/talerfrontends/donations/static/backoffice.js
index 8a60f91..f6ab027 100644
--- a/talerfrontends/donations/static/backoffice.js
+++ b/talerfrontends/donations/static/backoffice.js
@@ -130,11 +130,7 @@ function track_order(order_id, instance){
  */
 function fill_table(history){
   var table = document.getElementById("history");
-  var tbody = document.evaluate("tbody",
-                                table,
-                                null,
-                                XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
-                                null).snapshotItem(0);
+  tbody = xpath_get("tbody", table);
   for (var i=0; i<history.length; i++){
     var entry = history[i];
     var row = document.createElement("tr");

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]