From f54eb020cb26f4e3cce2e2da6ad9031af788a610 Mon Sep 17 00:00:00 2001
From: Natalia Momotenko <nmomotenko@ebay.com>
Date: Sat, 14 Mar 2015 18:55:48 +0200
Subject: [PATCH] MAGETWO-32310: Pop-ups

---
 .../Magento/Integration/view/adminhtml/web/js/integration.js    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/code/Magento/Integration/view/adminhtml/web/js/integration.js b/app/code/Magento/Integration/view/adminhtml/web/js/integration.js
index 387831e492d..3e299ddf77e 100644
--- a/app/code/Magento/Integration/view/adminhtml/web/js/integration.js
+++ b/app/code/Magento/Integration/view/adminhtml/web/js/integration.js
@@ -331,7 +331,7 @@ define([
                             click: function () {
                                 // Find the 'Allow' button and clone - it has all necessary data, but is going to be
                                 // destroyed along with the current dialog
-                                var ctx = $(this).parent().find('button.primary').clone(true);
+                                var ctx = $(this).parent().find('button.action-primary').clone(true);
                                 $(this).dialog('destroy');
                                 // Make popup out of data we saved from 'Allow' button
                                 window.integration.popup.show(ctx);
-- 
GitLab