Side navigation
#1083 closed bug (invalid)
Opened March 29, 2007 12:32AM UTC
Closed March 29, 2007 06:09PM UTC
Last modified June 20, 2007 12:51AM UTC
Uncaught Exception
Reported by: | trucex | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.1.3 |
Component: | core | Version: | 1.1.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I don't really know enough about JavaScript to debug what this really is saying, but I know that jquery is supposed to suppress all errors right now and it missed this one, so I thought I'd send it on over.
Error: [Exception... "Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: [truncated]/jquery.js :: anonymous :: line 1" data: no]
Source File: [truncated]/jquery.js
Line: 1
It seems that it's linked to this code somehow:
$(document).ready(function(){
$(window).scroll(updateBox());
});
The function it calls has no arguments.
Attachments (0)
Change History (1)
Changed March 29, 2007 06:09PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
You have to format your code like this:
In your code you're calling the function too early, instead you need to pass in a function reference, like above.