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:
David Reyna
2015-08-25 09:32:15 +01:00
committed by Richard Purdie
parent 294948c732
commit d45ab491d0

View File

@@ -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)},
});