From a8be6d4bb18232f13ffcaaf1a4137322db59fe48 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Mon, 8 Jun 2015 13:36:56 +0100 Subject: bitbake: toastergui: remove xhr_datatypeahead and xhr_XXXbuild We remove the endpoints for XHR on the toastergui application. The endpoints are now replaced with calls to the respective REST endpoints (i.e. projectlayers, projecttargets, projectmachines). (Bitbake rev: 8e7a2c3b125a34fd9d6fa0442ab13290137ecc51) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/widgets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/widgets.py') diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py index 8bc3d7f160..f5a1b3e7b9 100644 --- a/bitbake/lib/toaster/toastergui/widgets.py +++ b/bitbake/lib/toaster/toastergui/widgets.py @@ -253,8 +253,8 @@ class ToasterTable(TemplateView): data = cache.get(cache_name) - if data: - return data + #if data: + # return data self.setup_columns(**kwargs) @@ -277,9 +277,9 @@ class ToasterTable(TemplateView): 'default_orderby' : self.default_orderby, 'columns' : self.columns, 'rows' : [], + 'error' : "ok", } - try: for row in page.object_list: #Use collection to maintain the order -- cgit v1.2.3-54-g00ecf