andrem
andrem

Reputation: 36

How to redirect after closing modal frame window

I close my modal frame window in javascript with such command Drupal.modalFrameChild.triggerParentEvent('childClose', [args, statusMessages]). But I don't know how to redirect my browser to a specific path after that?

Upvotes: 0

Views: 760

Answers (1)

Kornel
Kornel

Reputation: 263

You can pass the window.location.href = url; command. Just use the url to define the location!

Upvotes: 1

Related Questions