<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — simple_crud_class]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3256&amp;type=atom" />
	<updated>2012-08-26T18:29:15Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3256</id>
		<entry>
			<title type="html"><![CDATA[Re: simple_crud_class]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=13165#p13165" />
			<content type="html"><![CDATA[<p>Ok, everybody can have its own opinion in this matter. If you want to implement javascript dialog as an simple_crud_class class option which can be activated (when needed) on object creation - you are welcome. We can add this to the next FA version.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2012-08-26T18:29:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=13165#p13165</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: simple_crud_class]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=13075#p13075" />
			<content type="html"><![CDATA[<p>Tks for Yr answer.<br />I respect Your opinion , but I disagree with it.<br />I was specially struggled on all CRUD tables and that was the reason of my patch.<br />I know and I appreciated the submit_js_confirm where it is already used.<br />I went on this discussion because I was evaluated if FA (I like its appeal) could be useful<br />as a starting base for some more functionality.<br />Best regards.</p>]]></content>
			<author>
				<name><![CDATA[alberti47]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14805</uri>
			</author>
			<updated>2012-08-13T17:28:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=13075#p13075</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: simple_crud_class]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=13073#p13073" />
			<content type="html"><![CDATA[<p>Well, there are some places where confirmation is good idea, but it make no sense to include it everywhere. I&nbsp; believe application <br />should make user&#039;s life easier, so asking for confirmation where there is small risk for any damage is just waste of user&#039;s time. We have added confirmation dialog iin places where using delete action can complicate user&#039;s life, and when the action can be harmful additional constraints does not allow for this. But if you want to add confirmation dialog in any customized page, you can do it easily using submit_js_confirm() helper.</p><p>Have you found any place in standard FA where additional confirmation should be added?</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[janusz]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4693</uri>
			</author>
			<updated>2012-08-13T15:44:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=13073#p13073</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: simple_crud_class]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=13068#p13068" />
			<content type="html"><![CDATA[<p>We are discussing this. Janusz will be back.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-08-13T07:56:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=13068#p13068</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: simple_crud_class]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=13059#p13059" />
			<content type="html"><![CDATA[<p>I would like to suggest the following patch that address the problem to have<br />confirmation on several CRUD tables of Delete operation, saving perhaps<br />some troubles.</p><p>pls edit the file : frontaccountig\js\insert.js and make the following patch :</p><p>&#039;button.ajaxsubmit,input.ajaxsubmit,input.editbutton,button.editbutton,button.navibutton&#039;: <br />&nbsp; &nbsp; function(e) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.onclick = function() {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (e.value == &#039;Delete&#039; || e.title == &#039;Delete&#039;) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var ans = confirm(</p>]]></content>
			<author>
				<name><![CDATA[alberti47]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14805</uri>
			</author>
			<updated>2012-08-11T17:47:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=13059#p13059</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[simple_crud_class]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=13052#p13052" />
			<content type="html"><![CDATA[<p>Hi.</p><p>Is there any way You can suggest in order to modify at least the simple_crud_class behaviour,<br />so I can set the delete button of the record list view to request a confirmation<br />before submitting delete command ?</p><p>I think this topic is very important, and has been requested as feature in the forum.</p><p>Is&#039;nt clear to me why this require a big amount of work and why in all application the<br />same problem is present for every delete button command.</p><p>Thanks in advance</p><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[alberti47]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14805</uri>
			</author>
			<updated>2012-08-10T06:43:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=13052#p13052</id>
		</entry>
</feed>
