From 14691ae6feea2732ec5aeae57b4275aa0e4d1beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Zaefferer?= Date: Tue, 23 Oct 2012 10:31:10 -0400 Subject: [PATCH] Dialog: Save the active element that opened the dialog and restore focus to that. Fixes #8730 - Dialog: Restore focus to opener. --- tests/visual/dialog/complex-dialogs.html | 18 ++++++++++++------ ui/jquery.ui.dialog.js | 9 +++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/tests/visual/dialog/complex-dialogs.html b/tests/visual/dialog/complex-dialogs.html index 634bfb3d603..26478718574 100644 --- a/tests/visual/dialog/complex-dialogs.html +++ b/tests/visual/dialog/complex-dialogs.html @@ -22,13 +22,13 @@