diff --git a/templates/history/grid.mako b/templates/history/grid.mako index 188697fd044..97d8f65bbbf 100644 --- a/templates/history/grid.mako +++ b/templates/history/grid.mako @@ -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. | Select: - %for page_index in range(1, num_pages + 1): %if page_index == cur_page_num: