[hg] galaxy 2971: Fix bug in selecting a page.
details: http://www.bx.psu.edu/hg/galaxy/rev/9561573441a4 changeset: 2971:9561573441a4 user: jeremy goecks <jeremy.goecks@emory.edu> date: Thu Nov 05 16:28:38 2009 -0500 description: Fix bug in selecting a page. diffstat: templates/history/grid.mako | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diffs (24 lines): diff -r 731875ce0a36 -r 9561573441a4 templates/history/grid.mako --- a/templates/history/grid.mako Thu Nov 05 14:19:45 2009 -0500 +++ b/templates/history/grid.mako Thu Nov 05 16:28:38 2009 -0500 @@ -126,9 +126,9 @@ // // Initiate navigation when user selects a page to view. // - function navigate_to_page() + function navigate_to_page(page_select) { - page_num = $(this).val(); + page_num = $(page_select).val(); <% url_args = {"page" : "PAGE"} %> var url_base = "${url( url_args )}"; var url = url_base.replace("PAGE", page_num); @@ -360,7 +360,7 @@ %endif ## Go to page select box. <span>| Select:</span> - <select id="page-select" onchange="navigate_to_page()"> + <select id="page-select" onchange="navigate_to_page(this)"> <option value=""></option> %for page_index in range(1, num_pages + 1): %if page_index == cur_page_num:
participants (1)
-
Greg Von Kuster