Reputation: 36
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
Reputation: 263
You can pass the window.location.href = url;
command. Just use the url to define the location!
Upvotes: 1