Closed (fixed)
Project:
Sphinx Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2008 at 09:51 UTC
Updated:
11 Nov 2008 at 19:53 UTC
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
Comment #1
markus_petrux commentedHave you tried this
$("input[@id='edit-sortfield-@weight']")?Comment #2
markus_petrux commentedComment #3
neochief commentedYes, thanks, it helped. I almost forgot about CSS3 ;)