ModalBox doesn't work

ModalBox doesn't work

Hi, ModalBox call initialization stopped working. 
I use next code:
  1. App.instance.modal({
    url: '/app/modal.html',
    title: "Modal box"
    }).then(function(modalInfo) {
    const modalInstance = App.instance.getWidgetInstance(modalInfo.widgetID);

    modalInstance.on('modal.opened', function(data) {
    console.log('modal opened ++++++++++++++++++')
    });
    }).catch(function(err) {
    console.log(err, "Modal error");
    })
We have two instances, for production and for developing.
The code of widget is  the same for those instances.
But for developing instance throws an error inside catch block in code above:  widgetMeta is not defined

In production instance this code works correct without any errors.

I would be grateful for the help.



    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方