diff options
author | David Reyna <David.Reyna@windriver.com> | 2015-08-25 09:32:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-29 14:03:50 +0100 |
commit | d45ab491d04acc07fcef91bb2d40dbbc271d5b0f (patch) | |
tree | 7e425a812472494bf36b25e2ef387941fca47eb1 | |
parent | 294948c732b4387375bae36350d8430c5e233590 (diff) | |
download | poky-d45ab491d04acc07fcef91bb2d40dbbc271d5b0f.tar.gz |
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 <David.Reyna@windriver.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/dirinfo.html | 3 |
1 files changed, 1 insertions, 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 @@ | |||
40 | url : url, | 40 | url : url, |
41 | data : "start=" + start, | 41 | data : "start=" + start, |
42 | success : function(response) { | 42 | success : function(response) { |
43 | var objects = $.parseJSON(response); | 43 | addRows(n, response) |
44 | addRows(n, objects) | ||
45 | }, | 44 | }, |
46 | error : function(jqXHR, textStatus, errorThrown ) {alert(textStatus + ":" + errorThrown)}, | 45 | error : function(jqXHR, textStatus, errorThrown ) {alert(textStatus + ":" + errorThrown)}, |
47 | }); | 46 | }); |