<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged undefined</title>
<link>https://overflow.efficy.io/?qa=tag/undefined</link>
<description>Powered by Question2Answer</description>
<item>
<title>Efficy11: Error on filehelper on unloading Edit window of document, only on IE</title>
<link>https://overflow.efficy.io/?qa=3384/efficy11-error-filehelper-unloading-edit-window-document</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;After installing Efficy 11 (r12921), whenever the edit page of a document or mail is unloaded (click cancel, save, addRelation,..etc) i got &quot;undefined&quot; alert, and i got this only on IE11&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=6669630566300150028&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;on debugger, it shows that &quot;this._helper.largeEdited()&quot; function is not defined, and this the main reason fro error.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=2888023844381572817&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;For the &quot;undefined&quot; alert, apparently it's related to missing label definition in JsonFileHelperModel in MacroLibrary, after adding it in custom, it was ok (i got it from Efficy2014 version)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;,&quot;lblErrorHelperObject&quot;: &quot;&amp;lt;%GetLabel('There is an error with the file editor. Please try to reload.')%&amp;gt;&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;any one has an idea why i'm getting this? i tested on many environments (clean local installation with no custom and submariners), and always get the same error, i tested on other colleague machine and he doesn't have this error, so apparently something broken on my local machine for IE11 or sidebar maybe?&lt;/p&gt;

&lt;p&gt;Please advise.&lt;br&gt;
Thank you for you help in advance.&lt;br&gt;
Regards.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3384/efficy11-error-filehelper-unloading-edit-window-document</guid>
<pubDate>Fri, 06 Jul 2018 13:12:21 +0000</pubDate>
</item>
<item>
<title>requirejs error in custom.js</title>
<link>https://overflow.efficy.io/?qa=1055/requirejs-error-in-custom-js</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I'm trying to use &quot;jquery&quot; and &quot;format&quot; in custom.js as the following:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function CreateRelation(Bookmark, MainEntity, MainKey, Entity, Key) {   
    requirejs(['jquery', 'utils/format', 'utils/utils'], 
    function ($, format, Utils) {   
        if ((MainEntity == 'Proj' || MainEntity == 'Oppo') &amp;amp;&amp;amp; Entity == 'Prod') {       
            var sameBrand = '0';        
            var ExtraParams = &quot;&amp;amp;MainKey=&quot; + MainKey +&quot;&amp;amp;ProdKey=&quot;  Key+&quot;&amp;amp;MainEntity=&quot;+MainEntity;        
            $.ajax({url: format(&quot;dialog?_macrofile=MacroAjax&amp;amp;_macro=RunScript&amp;amp;File=$0&amp;amp;Func=$1&quot;, &quot;serverscripts/common.js&quot;, &quot;sameBrandEntProd&quot;),             
            data: ExtraParams   
            }).done(function (html) {
                sameBrand = html;
            });         
            if (sameBrand == '1') 
                EditRelation(&quot;edit/relation.htm&quot;, MainEntity, MainKey, Entity, Key);        
            else 
                alert('You can not link this product because it does not have the right brand.');   
        } 
    });
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But i'm getting this error:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=5015690060356010265&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Am i missing some thing? please let me know your suggestion and advises.&lt;br&gt;
Best Regards.&lt;/p&gt;
</description>
<category>Efficy Partners</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1055/requirejs-error-in-custom-js</guid>
<pubDate>Wed, 30 Dec 2015 09:50:29 +0000</pubDate>
</item>
</channel>
</rss>