<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged modal</title>
<link>https://overflow.efficy.io/?qa=tag/modal</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to use the $('#modal-host').foundation('reveal', 'open'); as waiting overlay during loading.</title>
<link>https://overflow.efficy.io/?qa=1874/modal-host-foundation-reveal-waiting-overlay-during-loading</link>
<description>&lt;p&gt;Hello &lt;br&gt;
I need to have a waiting overlay when loading few customized pages.&lt;/p&gt;

&lt;p&gt;I decided to use the $('#modal-host').foundation('reveal', 'open'); but first problem it's generated only after my load. So to late and it seem that calling the  $('#modal-host').foundation('reveal', 'close'); doesn't work. No way to close it automatically&lt;/p&gt;

&lt;p&gt;so 2 questions :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is possible to use it before loading ?&lt;/li&gt;
&lt;li&gt;what is the best way to open this modal when I launch an ajax call and close it when ajax respond.&lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1874/modal-host-foundation-reveal-waiting-overlay-during-loading</guid>
<pubDate>Thu, 15 Sep 2016 16:10:45 +0000</pubDate>
</item>
<item>
<title>Modal Page in Edit context</title>
<link>https://overflow.efficy.io/?qa=1361/modal-page-in-edit-context</link>
<description>&lt;p&gt;Hi I try to add a CmdButton in Edit Context to call a Modal page. &lt;/p&gt;

&lt;p&gt;I am using the same call than for the consult context (that works well btw)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;CmdOppoEditGrid {[&amp;lt;li&amp;gt;&amp;lt;a class=&quot;i-done&quot; href=&quot;edit?bookmark=-1&amp;amp;page=modal/OppoEditGrid.htm&amp;amp;entity=Oppo&amp;amp;key=&amp;lt;%GetKey()%&amp;gt;&quot;
    data-reveal-id=&quot;modal-host&quot; data-reveal-ajax=&quot;true&quot;&amp;gt;&amp;lt;%GetLabel('Editer les lignes de devis')%&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I got an error like requirejs function is not defined....&lt;/p&gt;

&lt;p&gt;this error doesn't seem logic to me at all...&lt;br&gt;
does anyone knows how I should do?&lt;/p&gt;

&lt;p&gt;Best regards&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1361/modal-page-in-edit-context</guid>
<pubDate>Fri, 19 Feb 2016 09:51:25 +0000</pubDate>
</item>
</channel>
</rss>