Fix variable name.
authorJan Schneider <jan@horde.org>
Thu, 12 Aug 2010 16:24:24 +0000 (18:24 +0200)
committerJan Schneider <jan@horde.org>
Thu, 12 Aug 2010 16:24:24 +0000 (18:24 +0200)
horde/js/sidebar.js

index c556111..8ab77ad 100644 (file)
@@ -39,10 +39,10 @@ var HordeSidebar = {
     {
         var layout, r;
 
-        if (request.responseJSON) {
+        if (response.responseJSON) {
             $('HordeSidebar.tree').update();
 
-            r = request.responseJSON;
+            r = response.responseJSON;
             this.tree.renderTree(r.nodes, r.root_nodes, r.is_static);
 
             this.resizeSidebar();