Alexandre -

This has already been fixed and will be in 1.3.2 and is in the latest nightly.
http://code.jquery.com/jquery-nightly.js

--John



On Tue, Feb 10, 2009 at 6:19 AM, Alexandre Plennevaux
<[email protected]> wrote:
>
> Hi,
>
> since 1.3.1, firebug throws an error when doing a specific selector,
> that was working up to 1.3
>
> Erreur : [Exception... "'Syntax error, unrecognized expression:
> sortby=""]' when calling method: [nsIDOMEventListener::handleEvent]"
> nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location:
> "<unknown>"  data: no]
>
> the selector is:
> var $thisLI = $('ul > li[sortby="' + UI.sortby + '"]');
>
> the error happens only once, apparently when UI.sortby is an empty
> string. so the selector become $('ul > li[sortby=""]'); and that
> throws the error.
>
> I'm not sure if this is actually normal or a bug, let me know if you
> need more info...
>
> If it helps, the markup is:
>
> <li sortby="designParadigm"><a
> href="http://localhost/lab-au.com/prototype/lab-au/";>design
> paradigm</a>
>
>                                <ul class="level3">
>                                    <li filterby="concepts"><a
> href="http://localhost/lab-au.com/prototype/lab-au/by_designParadigm.concepts.html#datascape";>concepts</a></li>
>                                    <li filterby="methods"><a
> href="http://localhost/lab-au.com/prototype/lab-au/by_designParadigm.methods.html#datascape";>methods</a></li>
>                                    <li filterby="statements"><a
> href="http://localhost/lab-au.com/prototype/lab-au/by_designParadigm.statements.html#datascape";>statements</a></li>
>                                </ul>
>                            </li>
>
> Cheers
>
> Alexandre
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to