nBill Community
29/August/2008, 08:12:54 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
nBill Community
>
Feedback
>
Bug Reports
>
Javascript error for 'GBP'
Pages: [
1
]
« previous
next »
Print
Author
Topic: Javascript error for 'GBP' (Read 147 times)
dynorodney
Newbie
Offline
Posts: 13
Javascript error for 'GBP'
«
on:
23/July/2008, 09:24:50 AM »
[ SORRY - AFTER SPENDING AGES TRYING TO TRACK DOWN THE PROBLEM, GIVING UP AND FILING THIS, I THINK I'VE SPOTTED THE PROBLEM ON THE IMPORT FILE - MY PROBLEM ]
Hi
Ive bought a licence for nBill but am not yet using it live. When I go to the invoices section I get a javascript error which then (i think) stops the rest of the javascript from working so none of the lookup SKU code etc works either. I'm using the latest version 1.2.1 on Joomla 1.5.3
When creating / editing an invoice, FireBug reports the line as
"missing ) after condition"
for(var i = 0; i <= currencies.options.length; i++)
{ if (currencies.options
!= null && currencies.options
.value == ''GB') { currencies.selectedIndex = i; break; } }
As you can see the generated javascript has got a ''GB' rather than i assume a 'GBP' so the extra quote is confusing things (its 2 single quotes at the start not 1 double quote) - whether its getting the first 3 letters of 'GBP' and picking up the first extra quote I dont know but Ive checked the currency file (and done a view-source to make sure that it shows GBP and not 'GBP and that seems ok so I dont know where else to check ?
Thanks in advance
Tony
«
Last Edit: 23/July/2008, 09:29:43 AM by dynorodney
»
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Official Announcements
-----------------------------
Version 1.x
-----------------------------
=> Installation and Licensing
=> General Questions/Comments
=> Payment Gateways
=> Language Packs and Translation
-----------------------------
User to User
-----------------------------
=> Services Wanted
-----------------------------
Feedback
-----------------------------
=> Suggestions
=> General Feedback
=> Documentation
=> Bug Reports
Loading...