mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
Thiemo Kreuz eb25116734 Block Ctrl+Del/Backspace when Remove button is inaccessible
* I can't guarantee this fixes T301914. But I suspect the bug can not
be triggered any more with this plus If9b6050 in place.

* I wasn't able to reproduce the issue locally. But I learned that
  1. it's related to the hotkey, and
  2. it's because the dialog looses focus, and the focus ends on the
     VE surface in te background. Pressing Esc there closes VE. That's
     intended behavior.

* I tried to use .trigger( 'click' ), but it doesn't make much of a
difference. The only magic check is if the button is disabled. But no
visibility checks are done.

Bug: T301914
Change-Id: I2f66fc2411144c60cd08baae58452d336b4e9802
2022-03-02 11:56:29 +00:00
..
ve.ui.MWCommandHelpDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWConfirmationDialog.js Follow naming convention for static methods 2022-01-27 09:12:23 +01:00
ve.ui.MWExtensionDialog.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWExtensionPreviewDialog.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWFloatingHelpDialog.js Minor fixes to floating help dialog in desktop mode 2021-11-11 12:23:26 +01:00
ve.ui.MWGalleryDialog.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWMediaDialog.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWMetaDialog.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWMobileSaveDialog.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWPreDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWRequiredParamBlankConfirmDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWSaveDialog.js Add and fix default values in parameter documentation 2022-02-21 13:19:21 +00:00
ve.ui.MWTableDialog.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWTemplateDialog.js Hide unused paramters by default on multipart 2022-02-08 15:56:40 +01:00
ve.ui.MWTransclusionDialog.js Block Ctrl+Del/Backspace when Remove button is inaccessible 2022-03-02 11:56:29 +00:00