JSLint won't catch the error preventing your dashboard from
refreshing; see what Firebug says.
I've run the dashboard through JSLint already for compatibility with
IE. JSLint will discover a lot of errors that actually don't cause any
problems, like two spaces where there should be one, or no spaces
where there should be one, or using ++. These are basically irrelevant
for our purposes.
Also, have you double-checked that the refresh times of your portlets
are non-zero?
--Ian
On Oct 29, 2007, at 12:46 PM, slazzari wrote:
I put firebug on my install of FF and Yslow, and ran JSLint. Looks
like all kinds of problems with the script?
Im FAR from a programming type, so this is kind of greek to me,
hopefully it helps. I only included the first few lines - let me
know if you want more, and I'll up the whole report.
TIA
JSLint Report for: http://wtmmonitor:8080/zport/dmd/Dashboard
51 problems found.
JSLint stopped after analyzing 31% of the code because there were
too many errors.
http://wtmmonitor:8080/zport/dmd/js/MochiKit.js
Undefined variable: dojo line 14, char 11: ignore all
if(typeof (dojo)!="undefined")
Undefined variable: MochiKit line 17, char 11: ignore all
if(typeof (MochiKit)=="undefined")
Undefined variable: JSAN line 24, char 51: ignore all
..._compat__||(typeof (JSAN)=="undefined"&&typeof
(dojo)=="undefined"))
A constructor name should start with an uppercase letter. line 64,
char 11: ignore all
return new me()
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=12410#12410
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users