[BUGFIX] Add missing jQuery context for EM modal 26/51826/2
authorNicole Cordes <typo3@cordes.co>
Fri, 24 Feb 2017 11:59:13 +0000 (12:59 +0100)
committerHelmut Hummel <typo3@helhum.io>
Fri, 24 Feb 2017 14:49:33 +0000 (15:49 +0100)
This patch adds the modal context to be able to confirm the installation
of an incompatible extension.

Resolves: #79995
Releases: master
Change-Id: I84187076684eb1fb4ee69679f8003ec115a6bf2c
Reviewed-on: https://review.typo3.org/51826
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
typo3/sysext/extensionmanager/Resources/Public/JavaScript/Main.js

index b2c0e27..94add80 100644 (file)
@@ -517,7 +517,7 @@ define([
                                        ]);
                                        Modal.currentModal.on('shown.bs.modal', function() {
                                                var $actionButton = Modal.currentModal.find('.t3js-dependencies');
-                                               $('input[name=unlockDependencyIgnoreButton]').on('change', function() {
+                                               $('input[name="unlockDependencyIgnoreButton"]', Modal.currentModal).on('change', function() {
                                                        $actionButton.toggleClass('disabled', !$(this).prop('checked'));
                                                });
                                        });