* Ian Collins <[EMAIL PROTECTED]> [2007-02-27 17:02]: > Stephen Hahn wrote: > > >* Ian Collins <[EMAIL PROTECTED]> [2007-02-27 16:12]: > > > > > >>Stephen Hahn wrote: > >> > >> > >> > >>>http://cr.grommit.com/~sch/voting/ > >>> > >>> - a tiny bit of JavaScript (osol-poll.js) to knit together the > >>> YUI DataTable and TabView components to render status output. > >>> > >>> > >>> > >>One obvious point line 36 - web_home isn't a public URL. > >> > >> > > > > On the production system, this line becomes > > > >$ grep web_home /var/apache2/htdocs/osol-poll.js > >var web_home = "//poll.opensolaris.org/"; > >.... > > > > We have a configuration overwriting piece that's not in the present > > review, but will be updated to zap this line, too. > > > Can't you use relative URLs to work round this? That's how I test my > code for my client's servers on mine.
It's certainly possible, but I've not tested it. I just learned about cross-site JavaScript restrictions this morning, so I know when I wrote it I was considering that the raw data and the status page could come from different servers--which isn't the case. I'll put it on my "to test" list. - Stephen -- Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems [EMAIL PROTECTED] http://blogs.sun.com/sch/ _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org