]> git.wh0rd.org - tt-rss.git/blobdiff - js/functions.js
add a link to headlines-spacer to open next unread feed
[tt-rss.git] / js / functions.js
index c5194d2d10c743a1e77807d59ab28353495efd14..9915e6808542c57f64be2904afec4be69247e686 100644 (file)
@@ -44,11 +44,8 @@ function exception_error(location, e, ext_info) {
 
        try {
 
-               if (ext_info) {
-                       if (ext_info.responseText) {
-                               ext_info = ext_info.responseText;
-                       }
-               }
+               if (ext_info)
+                       ext_info = JSON.stringify(ext_info);
 
                try {
                        new Ajax.Request("backend.php", {
@@ -207,6 +204,7 @@ function notify_real(msg, no_hide, n_type) {
                return;
        } else {
                Element.show(n);
+               new Effect.Highlight(n);
        }
 
        /* types:
@@ -1296,10 +1294,8 @@ function backend_sanity_check_callback(transport) {
                        console.log('reading init-params...');
 
                        for (k in params) {
-                               var v = params[k];
-                               console.log("IP: " + k + " => " + v);
-
-                               if (k == "label_base_index") _label_base_index = parseInt(v);
+                               console.log("IP: " + k + " => " + JSON.stringify(params[k]));
+                               if (k == "label_base_index") _label_base_index = parseInt(params[k]);
                        }
 
                        init_params = params;