<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions and answers in 10.2.8930</title>
<link>https://overflow.efficy.io/?qa=qa/developers/bug-fixes/major-bug-fixes/10-2-8930</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: 10.2.8930: Bug in globals OpenEdit and ParseDuration due to windowManager introduction</title>
<link>https://overflow.efficy.io/?qa=2232/globals-openedit-parseduration-windowmanager-introduction&amp;show=2255#a2255</link>
<description>&lt;p&gt;Answer from our R&amp;amp;D:&lt;/p&gt;

&lt;p&gt;Actually, the new windowmanager is called in a syncronous manner and returns a window handle if the windowManager module has been placed in the dependency list of your page / main module, therefore when it's already loaded and available before you call any new window opener functions, it is detected and the call occurs in a normal manner, see code at the end of base.js &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;if (requirejs.defined('windowManager')) { 
    return requirejs('windowManager').open(action, options); 
 } 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;if the module is not declared as dependency of your main module, then requirejs has to first load it, hence the async call. &lt;/p&gt;
</description>
<category>10.2.8930</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2232/globals-openedit-parseduration-windowmanager-introduction&amp;show=2255#a2255</guid>
<pubDate>Fri, 03 Feb 2017 14:41:34 +0000</pubDate>
</item>
</channel>
</rss>