Problem/Motivation

The confirmation dialog moves focus from the current tab to tab of the site where the dialog is displayed.

Proposed resolution

It would be great to have an option on the module configuration page that turns off the dialog to prevent this effect.

I will provide a patch in minutes.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Konstantin Komelin’s picture

Status: Active » Needs review
FileSize
3.02 KB

Attached the patch. Please review.

johnennew’s picture

Assigned: Unassigned » johnennew

Hi @konstantin.komelin,

This looks like a pretty straightforward addition - I'll need to find some time to test this throughly though,

Thanks for your contribution!

Konstantin Komelin’s picture

Great, thanks!

johnennew’s picture

Version: 6.x-4.x-dev » 7.x-4.x-dev
FileSize
3.05 KB

Committed patch in #1 to 6.x-4.x

Patch for 7.x-4.x attached.

Konstantin Komelin’s picture

Thanks @ceng!
The patch from #4 looks good from my point of view.

johnennew’s picture

Status: Needs review » Fixed

tests pass and reviewed, set to complete

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

  • Commit 3a216df on 7.x-4.x, 8.x-1.x by ceng:
    Issue #2101551 by ceng, konstantin.komelin: Added option to prevent...