dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Reopen db connection after doing SpecialPageCacheUpdates"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki
/
mediawiki.confirmCloseWindow.js
diff --git
a/resources/src/mediawiki/mediawiki.confirmCloseWindow.js
b/resources/src/mediawiki/mediawiki.confirmCloseWindow.js
index
e3a8f7b
..
ee3bac2
100644
(file)
--- a/
resources/src/mediawiki/mediawiki.confirmCloseWindow.js
+++ b/
resources/src/mediawiki/mediawiki.confirmCloseWindow.js
@@
-98,6
+98,7
@@
*/
trigger: function () {
// use confirm to show the message to the user (if options.text() is true)
+ // eslint-disable-next-line no-alert
if ( options.test() && !confirm( message ) ) {
// the user want to keep the actual page
return false;