Probably not a big deal, but I noticed that Firebug was generating an error for most pages for an error on Line 3 of the javascriptheader template file. My best guess was that the {DEFAULTCOUNTRY} conditional on that line should be surrounded with quotes. I chose single quotes and the error disappeared. YMMV I suppose if you have a foreign country with a single quote in its name but it works for good ol' USA.
Just hate those little hidden errors even when they don't really affect day-to-day operation. But maybe it help somebody out there, so I pass it along for posterity.
lsalberg wrote: Probably not a big deal, but I noticed that Firebug was generating an error for most pages for an error on Line 3 of the javascriptheader template file. My best guess was that the {DEFAULTCOUNTRY} conditional on that line should be surrounded with quotes. I chose single quotes and the error disappeared. YMMV I suppose if you have a foreign country with a single quote in its name but it works for good ol' USA.
Just hate those little hidden errors even when they don't really affect day-to-day operation. But maybe it help somebody out there, so I pass it along for posterity.
Thank-you. Is the ratings javascript working for you? Or the drop down categories?
0/5
1
2
3
4
5
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on Javacript Header Error
Beginner
Usergroup: Customer
Joined: Aug 31, 2008
Location: Melbourne, FL
Total Topics: 3
Total Comments: 7
Probably not a big deal, but I noticed that Firebug was generating an error for most pages for an error on Line 3 of the javascriptheader template file. My best guess was that the {DEFAULTCOUNTRY} conditional on that line should be surrounded with quotes. I chose single quotes and the error disappeared. YMMV I suppose if you have a foreign country with a single quote in its name but it works for good ol' USA.
Just hate those little hidden errors even when they don't really affect day-to-day operation. But maybe it help somebody out there, so I pass it along for posterity.
Forum Regular
Usergroup: Customer
Joined: Oct 14, 2004
Total Topics: 54
Total Comments: 127
Probably not a big deal, but I noticed that Firebug was generating an error for most pages for an error on Line 3 of the javascriptheader template file. My best guess was that the {DEFAULTCOUNTRY} conditional on that line should be surrounded with quotes. I chose single quotes and the error disappeared. YMMV I suppose if you have a foreign country with a single quote in its name but it works for good ol' USA.
Just hate those little hidden errors even when they don't really affect day-to-day operation. But maybe it help somebody out there, so I pass it along for posterity.
Thank-you. Is the ratings javascript working for you? Or the drop down categories?