commit/galaxy-central: carlfeberhard: Fix to 197878e: properly namespace def and use in grid_async
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/828286e70c05/ Changeset: 828286e70c05 User: carlfeberhard Date: 2014-04-29 16:07:40 Summary: Fix to 197878e: properly namespace def and use in grid_async Affected #: 2 files diff -r 5846eb77fc8e7b49fe1cafd986e709974ec1ae87 -r 828286e70c05a1fcf0eec5c2b7e8c59f98b879ef templates/grid_base.mako --- a/templates/grid_base.mako +++ b/templates/grid_base.mako @@ -73,13 +73,13 @@ // load grid viewer require(['mvc/grid/grid-view'], function(GridView) { $(function() { - gridView = new GridView( ${ h.to_json_string( self.grid_config() ) } ); + gridView = new GridView( ${ h.to_json_string( self.get_grid_config() ) } ); }); }); </script></%def> -<%def name="grid_config( embedded=False, insert=None )"> +<%def name="get_grid_config( embedded=False, insert=None )"> ## generates dictionary <% self.grid_config = { diff -r 5846eb77fc8e7b49fe1cafd986e709974ec1ae87 -r 828286e70c05a1fcf0eec5c2b7e8c59f98b879ef templates/grid_base_async.mako --- a/templates/grid_base_async.mako +++ b/templates/grid_base_async.mako @@ -1,4 +1,4 @@ <%namespace name="grid_base" file="./grid_base.mako" import="*" /> ${init()} -${h.to_json_string( grid_base.grid_config )} \ No newline at end of file +${h.to_json_string( grid_base.get_grid_config() )} Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org