gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-backoffice] 02/02: UI/UX.


From: gnunet
Subject: [GNUnet-SVN] [taler-backoffice] 02/02: UI/UX.
Date: Wed, 06 Jun 2018 12:40:06 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository backoffice.

commit 13009ff016ce8bde41e46a0927d8cb46898523e4
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jun 6 12:38:21 2018 +0200

    UI/UX.
    
    Do scroll history elements always.  Only cases where
    they get erased are on page refresh, and instance switching.
    Also show the 202 Accepted message in the centered-box.
---
 js/backoffice.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/js/backoffice.js b/js/backoffice.js
index 91f36de..82b0ae6 100644
--- a/js/backoffice.js
+++ b/js/backoffice.js
@@ -181,8 +181,6 @@ var track_transfer = function(exchange, wtid, cb){
 var show_error = function(response_text, keep_history){
 
   toggle_loader();
-  if (!keep_history)
-    clean_results();
   close_popup();
 
   var msg = response_text;
@@ -259,6 +257,7 @@ function fill_box(tracks, http_code)
       .getElementsByClassName("track-content")[0];
     track_content.innerHTML = "This order is still" +
       "waiting to be paid back.";
+    toggle_overlay();
     return;
   }
 
@@ -355,7 +354,6 @@ function fill_table(scroll, data, execution_time, 
wtid_marker){
 
   /* not append data, erase!  */
   if (!scroll){
-    START = LAST = 0;
     clean_results();
     if(0 == data.length){
       /* make NO RESULTS visible and hide tab headers */

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



reply via email to

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