[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [atlas/master] Fixed a bug where Atlas was not showing error messages properly



commit feda6d99aa4ab961a2f2a2fa12cacdd57c579460
Author: Raphael Bergmann <raphael@xxxxxxxxxx>
Date:   Fri Jan 20 11:53:52 2017 +0100

    Fixed a bug where Atlas was not showing error messages properly
---
 js/router.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/js/router.js b/js/router.js
index 50bcd4e..1253405 100644
--- a/js/router.js
+++ b/js/router.js
@@ -107,7 +107,8 @@ define([
 
                 error: function(erno){
                     $("#content").show();
-                    doSearchView.error(erno);
+                    doSearchView.error = erno;
+                    doSearchView.renderError();
                     $("#loading").hide();
                 }
             });

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits