-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

Attached is the page as saved by Firefox.

The errors show up on Firefox 11 or 12 (on 2 different Linux systems if
that matters), Chromium, Opera...

Chromium (on Linux) shows:
Uncaught TypeError: Object #<Object> has no method 'jdMenu'
jquery.jdMenu.js:16
Uncaught TypeError: Object #<Object> has no method 'jdMenu'

Opera gives more details:
[27/04/2012 05:58:08] JavaScript - http://localhost:8080/?__logins=0
Event thread: DOMContentLoaded
Uncaught exception: TypeError: '$('ul.jd_menu').jdMenu' is not a function
Error thrown at line 16, column 1 in <anonymous function>() in
http://localhost:8080/tw2/resources/tgext.menu.util/static/js/jquery.jdMenu.js:
    $('ul.jd_menu').jdMenu();
called from line 1046, column 4 in <anonymous function:
jQuery.Callbacks>(context, args) in
http://localhost:8080/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js:
    if ( list[ firingIndex ].apply( context, args ) === false &&
flags.stopOnFalse )
called via Function.prototype.apply() from line 1164, column 6 in
<anonymous function: fireWith>(context, args) in
http://localhost:8080/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js:
    fire( context, args );
called from line 435, column 3 in <anonymous function: ready>(wait) in
http://localhost:8080/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js:
    readyList.fireWith( document, [ jQuery ] );
called from line 923, column 2 in <anonymous function:
DOMContentLoaded>() in
http://localhost:8080/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js:
    jQuery.ready();

[27/04/2012 05:58:08] JavaScript - http://localhost:8080/?__logins=0
Event thread: DOMContentLoaded
Uncaught exception: TypeError: '$("#sidebar").jdMenu' is not a function
Error thrown at line 3, column 6 in <anonymous function>() in
http://localhost:8080/?__logins=0:
    $("#sidebar").jdMenu();
called from line 392, column 5 in <anonymous function: ready>() in
http://localhost:8080/toscawidgets/resources/tw.jquery.base/static/javascript/jquery-1.4.2.js:
    fn.call( document, jQuery );
called via Function.prototype.call() from line 745, column 2 in
<anonymous function: DOMContentLoaded>() in
http://localhost:8080/toscawidgets/resources/tw.jquery.base/static/javascript/jquery-1.4.2.js:
    jQuery.ready();

I hope that helps.


Thanks,
- -- 
Jean-Denis Girard

SysNux                  Systèmes  Linux  en Polynésie française
http://www.sysnux.pf/   Tél: +689 50 10 40 / GSM: +689 79 75 27

Le 27/04/2012 04:44, Michael Pedersen a écrit :
> Okay, then something weird is going on, and I need lots more information
> than just that JS error.
> 
> Please pull up a page where you're getting it, and send me the following
> information:
> 
>   * I need the <script> tags from that page, in the order they appear,
>     from the <head> element.
>   * I need to see the <script> block that calls jdMenu
>   * I need to know which version of which browser and which operating system
> 
> 
> Hopefully, that will provide enough information to debug this.
> 
> On Fri, Apr 27, 2012 at 2:06 AM, Jean-Denis Girard <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     -----BEGIN PGP SIGNED MESSAGE-----
>     Hash: SHA1
> 
>     Le 26/04/2012 16:58, Michael Pedersen a écrit :
>     > This morning, when I read this message, I thought it was an issue with
>     > resource ordering. Came home, ready to tackle that problem. Turns
>     out it
>     > was not resource ordering.
>     >
>     > I didn't wrap the call to jdMenu() in a $(document).ready() block,
>     like
>     > I should have. This has been fixed, and 1.0rc3 is out. Thanks for
>     > letting me know about this.
> 
>     I've upgraded tgext.menu to rc3, but I still get the exact same JS
>     errors.
> 
> 
>     Thanks,
>     - --
>     Jean-Denis Girard
> 
>     SysNux                  Systèmes  Linux  en Polynésie française
>     http://www.sysnux.pf/   Tél: +689 50 10 40
>     <tel:%2B689%2050%2010%2040> / GSM: +689 79 75 27
>     <tel:%2B689%2079%2075%2027>
>     -----BEGIN PGP SIGNATURE-----
> 
>     iEYEARECAAYFAk+aN1MACgkQuu7Rv+oOo/gd5gCgpXTTC4nURbdJ/7+QgQw0NUxl
>     UjQAn1Jetl4sDXh6M+LO7YVfqgLqfUKJ
>     =CliD
>     -----END PGP SIGNATURE-----
> 
>     --
>     You received this message because you are subscribed to the Google
>     Groups "TurboGears" group.
>     To post to this group, send email to [email protected]
>     <mailto:[email protected]>.
>     To unsubscribe from this group, send email to
>     [email protected]
>     <mailto:turbogears%[email protected]>.
>     For more options, visit this group at
>     http://groups.google.com/group/turbogears?hl=en.
> 
> 
> 
> 
> -- 
> Michael J. Pedersen
> My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
> Google Talk: [email protected] <mailto:[email protected]>
> -- Twitter: pedersentg
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "TurboGears" 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/turbogears?hl=en.

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+aw14ACgkQuu7Rv+oOo/hGEgCfRVI2CgGC7NPbuVFj/AzCXout
4mYAnipe10VM0dXiFWbPeiw3uK95xvLo
=dbbF
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.


<<< text/html; name="index.html": Unrecognized >>>

Reply via email to