mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
294948c732
commit
d45ab491d0
@@ -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)},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user