galaxy-dist commit beb30aadccd7: Fix IE crashing on pages with grids
# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Kanwei Li <kanwei@gmail.com> # Date 1277239345 14400 # Node ID beb30aadccd75bfdec6b06d4afcd704c2c16dbc3 # Parent 5e75bad5a780acb7c2975bcc375216c1abb5d148 Fix IE crashing on pages with grids --- a/templates/grid_base.mako +++ b/templates/grid_base.mako @@ -245,14 +245,13 @@ %endfor // Initialize URL args with filter arguments. - var url_args = ${h.to_json_string( cur_filter_dict )}; + var url_args_init = ${h.to_json_string( cur_filter_dict )}, + url_args = {}; // Place "f-" in front of all filter arguments. - for (arg in url_args) - { - value = url_args[arg]; - delete url_args[arg]; - url_args["f-" + arg] = value; + + for (arg in url_args_init) { + url_args["f-" + arg] = url_args_init[arg]; } // Add sort argument to URL args.
participants (1)
-
commits-noreply@bitbucket.org