<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarai.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>alert auto closes even with autoClose=false</title><link>https://sugarclub.sugarai.com/dev-club/f/questions-answers/7673/alert-auto-closes-even-with-autoclose-false</link><description>I am on Ent v12 working to get to v14 (hopefully by end of next month). 
 I have a simple alert in my controller: 
 app.alert.show(&amp;#39;case_quote_exists&amp;#39;,{ level: &amp;#39;confirmation&amp;#39;, messages: &amp;#39;The selected Quote is already related to case &amp;#39;+ case_number, autoClose</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: alert auto closes even with autoClose=false</title><link>https://sugarclub.sugarai.com/thread/32008?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 20:53:03 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:8d568b33-8a65-4cd8-be5a-1733bb6e31f8</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;&lt;span class="emoticon" data-url="https://sugarclub.sugarai.com/cfs-file/__key/system/emoji/1f926.svg" title="Face palm"&gt;&amp;#x1f926;&lt;/span&gt; Thank you Andre! That was it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: alert auto closes even with autoClose=false</title><link>https://sugarclub.sugarai.com/thread/32005?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 11:07:27 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:60c7d79d-63b0-49e8-b7f0-4c1c65c3670e</guid><dc:creator>Andre Serrazina</dc:creator><description>&lt;p&gt;Hello Francesca,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I wonder if the issue is&amp;nbsp;I due to how the autoClose option is being set. &lt;br /&gt;In your current code, autoClose is being passed as a string (&amp;#39;false&amp;#39;),&amp;nbsp;but on Sugar core code I see it being passed as&amp;nbsp;boolean (false without quotes).&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;autoClose&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;I had a try locally and removing the quotes seems to fix the issue.&amp;nbsp;&lt;br /&gt;Can you try and let us know?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Cheers,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Andr&amp;eacute;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>