diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-08 13:36:56 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-10 15:31:12 +0100 |
commit | 8e7a2c3b125a34fd9d6fa0442ab13290137ecc51 (patch) | |
tree | 6439e625f7fa25d5bd9959265084f77081cd48ce /lib/toaster/toastergui/widgets.py | |
parent | fb5eb1d7759222573565936a964d602c148df139 (diff) | |
download | bitbake-contrib-8e7a2c3b125a34fd9d6fa0442ab13290137ecc51.tar.gz |
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).
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/widgets.py')
-rw-r--r-- | lib/toaster/toastergui/widgets.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/widgets.py b/lib/toaster/toastergui/widgets.py index 8bc3d7f16..f5a1b3e7b 100644 --- a/lib/toaster/toastergui/widgets.py +++ b/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 |