Am Freitag, 6. Mai 2016, 15:15:38 schrieb Robert Sandell:
> True, but since the specific section he mentioned to link to is gone in 2.0
> I saw no need :)
> 
> But yea, something is adding those anchor points, but it's not
> lib/form/section.jelly so some magic javascript seems to be adding them
> after the jelly has been rendered.

It is in lib/form/breadcrumb-config-outline/init.js

I inspected the generated config page and found a 
 <tr> element is generated for each section. The element has a _name_ 
attribute with a value derived from the tool descriptor.
For the JDK tool, it gives
 <tr ... name="hudson-model-JDK">

W3C says, there is no name attribute allowed for <tr>, but it is allowed for  
<a>. 
Looks like someone already tried to generate an anchor here, but messed up the 
jelly code.

Martin

-- 
Cd wrttn wtht vwls s mch trsr.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/1579286.g8drh4QRpN%40linux.
For more options, visit https://groups.google.com/d/optout.

Reply via email to