HomePhabricator

Extend mediaWiki.confirmCloseWindow to trigger it manually

Description

Extend mediaWiki.confirmCloseWindow to trigger it manually

Some extensions and/or functions doesn't reload the page to destroy a form
that can contain some user input. To use confirmCloseWindow to cover these forms,
too, we need a way to manually trigger this module and show the warning
to the user.

Bug: T94194
Change-Id: I897330bc62b9ef3bfd04f61f5c5d0744c8ec61d3

Details

Provenance
FlorianAuthored on
JdlrobsonCommitted on May 12 2015, 11:22 AM
Parents
rMW7f26e510f841: Merge "Send job ACKs to statsd"
Branches
Unknown
Tags
Unknown
ChangeId
I897330bc62b9ef3bfd04f61f5c5d0744c8ec61d3