P
P
photosho2017-05-15 18:01:43
1C-Bitrix
photosho, 2017-05-15 18:01:43

Is it possible to close the BX.PopupWindowManager popup window with code?

I did not see such an opportunity, to close "manually", using the code, the window called by the command
BX.PopupWindowManager.create()
Maybe, perhaps, nevertheless? If you just delete it, then in some cases it may not open.
Task: close the window after some time after opening.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Emelyanov, 2017-05-15
@photosho

Given that BX.PopupWindowManager is a wrapper over BX.PopupWindow , and it has a close() method .
Try in the event handler to call this.popupWindow.close();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question