From d45ab491d04acc07fcef91bb2d40dbbc271d5b0f Mon Sep 17 00:00:00 2001 From: David Reyna Date: Tue, 25 Aug 2015 09:32:15 +0100 Subject: bitbake: toaster: update directory tree expansion The ajax query that fetches the directory data on an expand request is now returning the response data already in an object form. so the parseJSON() call is no longer needed (and is currently returning a parse error). [YOCTO #7810] (Bitbake rev: e237d231d52ef71e0f369d1af34f214e6c2359f2) Signed-off-by: David Reyna Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/dirinfo.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/dirinfo.html b/bitbake/lib/toaster/toastergui/templates/dirinfo.html index 11c709ac9a..a5bc48127c 100644 --- a/bitbake/lib/toaster/toastergui/templates/dirinfo.html +++ b/bitbake/lib/toaster/toastergui/templates/dirinfo.html @@ -40,8 +40,7 @@ url : url, data : "start=" + start, success : function(response) { - var objects = $.parseJSON(response); - addRows(n, objects) + addRows(n, response) }, error : function(jqXHR, textStatus, errorThrown ) {alert(textStatus + ":" + errorThrown)}, }); -- cgit v1.2.3-54-g00ecf