Hello

In sort field the Relevance sort is marked as "@weight" in code. And when you trying to apply some JQuery selectors like $("#edit-sortfield-@weight") you simply can't, because ampersand breaks this selector. I understand that "@weight" was chosen to act like sphinx weigths and not to be confused with drupal weights, so maybe we could name it "s_weight" or something like that?

Comments

markus_petrux’s picture

Have you tried this $("input[@id='edit-sortfield-@weight']") ?

markus_petrux’s picture

Status: Active » Postponed (maintainer needs more info)
neochief’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Yes, thanks, it helped. I almost forgot about CSS3 ;)