Manifest.xml ModalDialog UI behaves Modeless at times


hi,

 

i have specified ui of extension modal dialog shown below:

 

<extension id="search">

      <dispatchinfo>

        <resources>

          <mainpath>./html/xyz.html</mainpath>

          <scriptpath>./js/main.jsx</scriptpath>

          <cefcommandline/>

        </resources>

        <lifecycle>

          <autovisible>true</autovisible>

        </lifecycle>

 

        <ui>

          <type>modaldialog</type>

          <menu>search</menu>

          <geometry>

            <size>

              <height>225</height>

              <width>675</width>

            </size>

            <maxsize>

              <height>280</height>

              <width>675</width>

            </maxsize>

            <minsize>

              <height>225</height>

              <width>675</width>

            </minsize>

          </geometry>

          <icons/>

        </ui>

      </dispatchinfo>

    </extension>

 

but dialog behaves modeless. please suggest me how solve issue.

 

note:

i open extension dialog on button click. affect behavior of calling dialog (search).

$('#show').click(function (event) {

        csinterface.requestopenextension(extensionname);

        var tout = settimeout(function () {

            dispatchopendialogevent(eventname, extensionname);

            cleartimeout(tout);

        }, 1000);

    });



More discussions in Illustrator


adobe

Comments

Popular posts from this blog

Reader DC

AdobeIDの作り方

Adobe InDesign CC 2017 has stopped working