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

irl at torproject.org irl at torproject.org
Fri Jan 20 18:40:27 UTC 2017


commit feda6d99aa4ab961a2f2a2fa12cacdd57c579460
Author: Raphael Bergmann <raphael at cc-ltd.net>
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();
                 }
             });



More information about the tor-commits mailing list