Closed
Bug 287770
Opened 20 years ago
Closed 20 years ago
Aftenposten javascript calculator will not exchange
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INVALID
People
(Reporter: daniel.aleksandersen, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041201 Camino/0.8.2 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041201 Camino/0.8.2 Camino can't exchange foreign currency in Aftenposten.no (big, Norwegian newspaper) JavaScript based foreign currency exchanger. Output field remains empty while other browsers provaile the exchanged value in the output field as you type. If you hit the "kalkuler beløp!" button (calculate amount) nothing happend then either. Reproducible: Always Steps to Reproduce: 1. Go to < http://www.aftenposten.no/nyheter/okonomi/valutakalkulator/ >. 2. In the field labeled "Beløp som skal veksles" (amount to be exchanged) with default value "100" type in any number or keep the default value. ( the fields for valuta (USD, NOK, SEK etc.) don't need to be changed. If you change, nothing will happen any way) 3. Hit "kalkuler beløp!" button (calculate amount) Actual Results: Nothing. Nothing happends at all. Expected Results: The JavaScript based foreign exchange should have exchanged the value and put the exchanged value in the field marked "vekslet beløp". In some other browsers, you don't need to hit the "kalkuler beløp!" button, but the amount wil be exchanged at once.
This doesn't work in 2005032408 (v0.8+) or in Firefox. So it's a either a core bug or an evangelism one, but my Norwegian is rusty :-) and the page source could use a pretty-printer, so I can't tell for sure which...
Assignee: pinkerton → form-submission
Status: UNCONFIRMED → NEW
Component: HTML Form Controls → HTML: Form Submission
Ever confirmed: true
Product: Camino → Core
QA Contact: ian
Summary: Aftenposten java calculator will not exchange → Aftenposten javascript calculator will not exchange
Version: unspecified → Trunk
Comment 2•20 years ago
|
||
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050325 After loading JS console and URL, I just clicked the button 'kalkuler belop!' to calculate the predefined values, and got this error: Error: USD is not defined Source File: http://www.aftenposten.no/nyheter/okonomi/valutakalkulator/ Line: 62 Second try: I changed amount from 100 to 200, changed currency from USD to EUR, and reselected NOK, and got this error: Error: EUR is not defined Source File: http://www.aftenposten.no/nyheter/okonomi/valutakalkulator/ Line: 62 Warning: redeclaration of function tilUrl Source File: http://www.aftenposten.no/template/ver2-0/js/felles.js Line: 76, Column: 9 Source Code: function tilUrl(targ,selObj,restore){ third try: when I type in the field for amount, for each backspace or digit typed I get an error message that the target currency doesn't exist: Error: DKK is not defined Source File: http://www.aftenposten.no/nyheter/okonomi/valutakalkulator/ Line: 62
OS: MacOS X → All
Hardware: Macintosh → All
Comment 3•20 years ago
|
||
MSIE has the same errors. They forgot to define the variables. Doh.
Comment 4•20 years ago
|
||
The site works fine now; looks like they fixed their buggy JS.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•