Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/jobs.tmpl

Issue 4570169137430528: Update the URL when a job description is clicked (Closed)
Patch Set: Created Jan. 9, 2014, 2:26 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/jobs.tmpl
===================================================================
--- a/pages/jobs.tmpl
+++ b/pages/jobs.tmpl
@@ -10,7 +10,13 @@
jQuery(function()
{
jQuery(
- "ul:first", jQuery("#tabs-openings").tabs()
+ "ul:first", jQuery("#tabs-openings").tabs(
+ {
+ activate: function(event, ui)
+ {
+ location.hash = ui.newTab.find("a")[0].hash;
+ }
+ })
).addClass("ui-tabs-nav-vertical");
jQuery("#tabs-details").tabs();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld