Close all modal dialogs in dojo

Does anyone know how to close all modal dialogs created by Dojo? Apparently there was a dojo.popup.closeAll function before, but it is no longer available in the latest version of Dojo API that comes with Spring JS.
This is correct…. The reason that the method no longer exists is that the person who pops up the pop-up window is responsible for closing it since 1.0. This is the architecture change I made.

Most Widgets (such as menus) monitor when they are blurred, and then close the sub-popup. Therefore, you can get the desired effect by switching the focus to the document itself or some random node. Of course this is a workaround.

Bill

Does anyone know how to close all modal dialogs created by Dojo? Obviously there was a dojo.popup.closeAll function before, but it is no longer available in the latest version of Dojo API that comes with Spring JS.

This is correct…. That method is not The reason for re-existing is that the person who popped up the pop-up window from 1.0 is responsible for closing it. This is an architectural change I made.

Most widgets (such as menus) are monitored when they are blurred, and then Close the sub-pop-up window. Therefore, you can get the desired effect by switching the focus to the document itself or some random node. Of course this is a workaround.

Bill

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5803 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.