Skip to content

Commit

Permalink
Remove async attribute from grid helper
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Dec 10, 2017
1 parent cbe7cab commit f2d12a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/galaxy/web/framework/helpers/grids.py
Expand Up @@ -24,7 +24,6 @@ class Grid(object):
exposed = True
model_class = None
show_item_checkboxes = False
use_async = False
use_hide_message = True
global_actions = []
columns = []
Expand Down Expand Up @@ -277,7 +276,6 @@ def url(*args, **kwargs):

self.use_panels = (kwargs.get('use_panels', False) in [True, 'True', 'true'])
self.advanced_search = (kwargs.get('advanced_search', False) in [True, 'True', 'true'])
async_request = ((self.use_async) and (kwargs.get('async', False) in [True, 'True', 'true']))
# Currently, filling the template returns a str object; this requires decoding the string into a
# unicode object within mako templates. What probably should be done is to return the template as
# utf-8 unicode; however, this would require encoding the object as utf-8 before returning the grid
Expand All @@ -286,7 +284,6 @@ def url(*args, **kwargs):
grid_config = {
'title' : self.title,
'url_base' : trans.request.path_url,
'async' : self.use_async,
'async_ops' : [],
'categorical_filters' : {},
'filters' : cur_filter_dict,
Expand Down

0 comments on commit f2d12a5

Please sign in to comment.