<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Back links close window]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=4308</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4308&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Back links close window.]]></description>
		<lastBuildDate>Tue, 20 Aug 2013 16:07:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Back links close window]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17457#p17457</link>
			<description><![CDATA[<p>Some pages are used in FA both in main and popups windows, so the &#039;Back&#039; link have to support both situations differently (see customer_inquiry.php which is available under &#039;Customer Transactions&#039;&nbsp; menu option, and used in popup under&nbsp; &#039;Current Credit&#039; link in Direct Sales Invoice).</p><p>If you can provide a patch ready to apply on current FA code, which would be both usefull for you and would not interfere with current user interface, we will consider integrate it in the next FA release.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 20 Aug 2013 16:07:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17457#p17457</guid>
		</item>
		<item>
			<title><![CDATA[Re: Back links close window]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17454#p17454</link>
			<description><![CDATA[<p>@itronics<br />I understand what&#039;s happening and why you choose to use popups and have them close to return to the main working window. I guess I&#039;m wondering why you chose to use the same function for back and close. Is it not possible to write a function that allows both to happen for someone who chooses to run FA in a popup?</p><p>It&#039;s certainly not a big problem for me, and if you can&#039;t or won&#039;t change it I&#039;ll still use FA, but because I use popup windows a lot - I don&#039;t need every window to have menu, bookmarks, etc. - I opened this thread because I thought it was a bug because I&#039;ve never had this problem before. Now I understand it&#039;s a design decision, but I feel that it must be possible to do both, if the code were changed. So I ask again, if there are no adverse affects by allowing both, could you, Joe, or someone with the right experience, provide the code that would work? You don&#039;t have to change the application for everyone, I&#039;ll just change the code in my little setup, and the solution can be available here to anyone else wanting the same ability.</p><p>Thanks again.</p>]]></description>
			<author><![CDATA[null@example.com (Strongman)]]></author>
			<pubDate>Tue, 20 Aug 2013 12:43:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17454#p17454</guid>
		</item>
		<item>
			<title><![CDATA[Re: Back links close window]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17451#p17451</link>
			<description><![CDATA[<p>@Strongman<br />Back link is FA navigation element which is designed to close popup windows. This is our design decision, and rationale here is rather obvious. All over the FA application popups are used as temporary windows opened to allow user some operations (transaction viewing, customer edition or selection etc) without abandoning current form in main browser window. Therefore in popup windows Back link&nbsp; just abandon the auxiliary operation and return to main window, where the popup was triggered. <br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 20 Aug 2013 12:14:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17451#p17451</guid>
		</item>
		<item>
			<title><![CDATA[Re: Back links close window]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17435#p17435</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>FA was necer planned to be used in a popup window.</p></blockquote></div><p>For you maybe.</p><p>Though I&#039;ve found the code that controls this behaviour I can prevent the <span class="bbu">back</span> links from closing my popup window, but at the expense of the <span class="bbu">close</span> links not working.</p><p>I&#039;ve no idea about javascript so I&#039;m not sure how to get both to work. If there are no adverse affects by allowing both, could you, Joe, or someone with the right experience, provide the code that would work?</p><p>Currently it&#039;s...<br /></p><div class="codebox"><pre><code>function goBack(deep) {
    if (window.opener)
     window.close();
    else
     window.history.go(deep || -1);
}</code></pre></div><p>Many thanks.</p>]]></description>
			<author><![CDATA[null@example.com (Strongman)]]></author>
			<pubDate>Sat, 17 Aug 2013 09:29:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17435#p17435</guid>
		</item>
		<item>
			<title><![CDATA[Re: Back links close window]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17427#p17427</link>
			<description><![CDATA[<p>This is the way FA works. FA was necer planned to be used in a popup window.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sat, 17 Aug 2013 08:54:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17427#p17427</guid>
		</item>
		<item>
			<title><![CDATA[Re: Back links close window]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17426#p17426</link>
			<description><![CDATA[<p>Joe,</p><p>Is that to say it <em>can&#039;t</em> be fixed, or is that just <em>why</em> it&#039;s happening? Is such a thing a browser restriction or a code feature?</p>]]></description>
			<author><![CDATA[null@example.com (Strongman)]]></author>
			<pubDate>Sat, 17 Aug 2013 08:21:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17426#p17426</guid>
		</item>
		<item>
			<title><![CDATA[Re: Back links close window]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17425#p17425</link>
			<description><![CDATA[<p>If you open FA in a popup window, this will happen. It is done inside a JavaScript routine.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sat, 17 Aug 2013 06:01:44 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17425#p17425</guid>
		</item>
		<item>
			<title><![CDATA[Back links close window]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17421#p17421</link>
			<description><![CDATA[<p>I open my locally hosted FrontAccounting (v2.3.17) in a popup window generated as follows</p><div class="codebox"><pre><code>&lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;window.open(&#039;https://frontaccounting.myhomeserver.net&#039;,&#039;FrntAcc&#039;,&#039;scrollbars=yes,height=569,width=1032,left=1706,top=430&#039;);return false;&quot;&gt;FrontAccounting&lt;/a&gt;</code></pre></div><p>Whenever I click on any of the &quot;Back&quot; links, my FrontAccounting window closes. This is happening in both Firefox (v22.0) and Chrome (Version 28.0.1500.71 m).</p><p>Any ideas how to fix this?</p><p>Many thanks.</p>]]></description>
			<author><![CDATA[null@example.com (Strongman)]]></author>
			<pubDate>Fri, 16 Aug 2013 23:12:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17421#p17421</guid>
		</item>
	</channel>
</rss>
