<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — [javascript bug +fix] front accounting 2.2.8]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1332</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1332&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [javascript bug +fix] front accounting 2.2.8.]]></description>
		<lastBuildDate>Sat, 22 May 2010 15:30:51 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [javascript bug +fix] front accounting 2.2.8]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5964#p5964</link>
			<description><![CDATA[<p>No, the compressing function works just right, because in the algorithm&nbsp; all literal strings (in single or double quotes) are temporary superseded by markers&nbsp; before removing comments, then the strings are restored.</p><p>Therefore if you have any problem here, this is probably due to your customizations. Just look into our 2.2.8 demo server which simply works as it should.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Sat, 22 May 2010 15:30:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5964#p5964</guid>
		</item>
		<item>
			<title><![CDATA[Re: [javascript bug +fix] front accounting 2.2.8]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5963#p5963</link>
			<description><![CDATA[<p>ok Janusz, here where problem arise.</p><p>file: /includes/main.inc<br />line 230 - 231, this part of function js_compress($sJS)</p><p>&nbsp; &nbsp; //remove comments<br />&nbsp; &nbsp; $line = preg_replace(&quot;/\/\/(.*)/&quot;,&quot;&quot;,$line);</p><p>and file: /js/JsHttpRequest.js<br />line 463<br />&nbsp; &nbsp; &nbsp; &nbsp;if (this.url.match(new RegExp(&#039;^([a-z]+:<strong>//</strong>[^\\/]+)(.*)((:[0-9]*)+)&#039;, &#039;i&#039;))) {</p><p>see after bold text. <br />this regex command will treated as remark, and removed after process in line 231 from file /includes/main.inc, like this:<br />if (this.url.match(new RegExp(&#039;^([a-z]+:</p>]]></description>
			<author><![CDATA[null@example.com (separatis)]]></author>
			<pubDate>Sat, 22 May 2010 12:57:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5963#p5963</guid>
		</item>
		<item>
			<title><![CDATA[Re: [javascript bug +fix] front accounting 2.2.8]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5957#p5957</link>
			<description><![CDATA[<p>Just a nonsense.</p><p>If you think you have found a bug do not give advice to other users how to hide the problem, but please explain what is the problem instead.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Sat, 22 May 2010 09:16:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5957#p5957</guid>
		</item>
		<item>
			<title><![CDATA[[javascript bug +fix] front accounting 2.2.8]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5956#p5956</link>
			<description><![CDATA[<p>i think i&#039;ve found bug,on javascript function,prevent normal operation.<br />first,<br />frontaccount\includes\ui\ui_view.inc<br />line 1102 - 1103<br />replace code:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; table += \&quot;&lt;td&gt;&lt;a class=&#039;\&quot;+css_class+\&quot;&#039; href=\\\&#039;javascript:setCCDate(\&quot;+currentYear+\&quot;,\&quot;+currentMonth+\&quot;,\&quot;+dayOfMonth+\&quot;)\\\&#039;&gt;\&quot;+dayOfMonth+\&quot;&lt;/a&gt;&lt;/td&gt;\&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dayOfMonth++;</p><p>second,<br />javascript compressor malfunction(?), using file xajaxCompress.php from xajaxproject.org<br />temporary,disable js_compress function in:<br />frontaccount\includes\main.inc<br />function cache_js_file($fpath, $text) <br />{<br />&nbsp; &nbsp; global $go_debug;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//disable javascript compress<br />&nbsp; &nbsp; //if(!$go_debug) $text = js_compress($text);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; $file = fopen($fpath, &#039;w&#039;);<br />&nbsp; &nbsp; if (!$file) return false;<br />&nbsp; &nbsp; if (!fwrite($file, $text)) return false;<br />&nbsp; &nbsp; return fclose($file);<br />}</p>]]></description>
			<author><![CDATA[null@example.com (separatis)]]></author>
			<pubDate>Sat, 22 May 2010 07:24:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5956#p5956</guid>
		</item>
	</channel>
</rss>
