<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — [2.3.4] Exchange Rates Input Text Serious Bug]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=2137</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2137&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [2.3.4] Exchange Rates Input Text Serious Bug.]]></description>
		<lastBuildDate>Mon, 13 Jun 2011 18:40:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [2.3.4] Exchange Rates Input Text Serious Bug]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=9431#p9431</link>
			<description><![CDATA[<p>Yes, this bug was fixed in just relased FA 2.3.5.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Mon, 13 Jun 2011 18:40:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=9431#p9431</guid>
		</item>
		<item>
			<title><![CDATA[Re: [2.3.4] Exchange Rates Input Text Serious Bug]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=9426#p9426</link>
			<description><![CDATA[<p>OK, after few trial &amp; error I found out that the problem lies in<br />file /js/utils.js :: function price_format(post, num, dec, label, color) // line 209<br />because every time variable &quot;num&quot; is 0 the browser hangs</p><p>What makes it worse is that 0 is the default value of &quot;num&quot;<br /></p><div class="codebox"><pre><code>if(isNaN(num))
        num = &quot;0&quot;;</code></pre></div><p>I don&#039;t know the exact code which lead this behaviour but I can be sure that it you put any input inside exchange rate which lead to value zero or NaN I guarantee your browser will hang.<br />When I try to put <br /></p><div class="codebox"><pre><code>if (num == 0) num = 1;</code></pre></div><p>just below the code above, the behaviour vanish because value zero will never happens.</p><p>Perhaps the author of function price_format can inspect the javascript code to find the bug.</p>]]></description>
			<author><![CDATA[null@example.com (captain_kuro)]]></author>
			<pubDate>Mon, 13 Jun 2011 10:09:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=9426#p9426</guid>
		</item>
		<item>
			<title><![CDATA[Re: [2.3.4] Exchange Rates Input Text Serious Bug]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=9424#p9424</link>
			<description><![CDATA[<p>Actually it&#039;s not just because of empty field, I put &quot;0,&quot; in exchange rates and then click another element. viola my browser hangs</p>]]></description>
			<author><![CDATA[null@example.com (captain_kuro)]]></author>
			<pubDate>Mon, 13 Jun 2011 09:50:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=9424#p9424</guid>
		</item>
		<item>
			<title><![CDATA[Re: [2.3.4] Exchange Rates Input Text Serious Bug]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=9418#p9418</link>
			<description><![CDATA[<p>@Janusz<br />You&#039;re welcome brother. Happy to hear that it was fixed for next release. <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (bhoo-day)]]></author>
			<pubDate>Mon, 13 Jun 2011 03:17:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=9418#p9418</guid>
		</item>
		<item>
			<title><![CDATA[Re: [2.3.4] Exchange Rates Input Text Serious Bug]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=9384#p9384</link>
			<description><![CDATA[<p>Thank you for pointing this out. The bug was fixed in util.js , will be made available with next FA release.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 07 Jun 2011 08:58:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=9384#p9384</guid>
		</item>
		<item>
			<title><![CDATA[[2.3.4] Exchange Rates Input Text Serious Bug]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=9379#p9379</link>
			<description><![CDATA[<p>Hello, </p><p>I&#039;ve found a bug in exchange rates menu section (under Banking and General Ledger). It is very serious bug because it could make your browser hang especially when you use Firefox. </p><p>Here are the steps to get this bug occurs<br />1. Select a currency that can make exchange rates form appear<br />2. Make sure that the exchange rates input text is empty<br />2. Put focus on exchange rates input text<br />3. Click the calendar icon above or click another html element<br />4. Bug appear</p><p>I think this is because the empty input text. I solve this bug by defining decimal number for exchange rate value. So, this input text will never empty.</p>]]></description>
			<author><![CDATA[null@example.com (bhoo-day)]]></author>
			<pubDate>Tue, 07 Jun 2011 06:46:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=9379#p9379</guid>
		</item>
	</channel>
</rss>
