Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

magnific popup - midClick added

DanielŻuławski8570f0b46c9b
diff --git a/src/Plugins/DiscountRules.Standard/Areas/Admin/Views/HasAllProducts/Configure.cshtml b/src/Plugins/DiscountRules.Standard/Areas/Admin/Views/HasAllProducts/Configure.cshtml
index 47a664374..dbf8e7448 100644
--- a/src/Plugins/DiscountRules.Standard/Areas/Admin/Views/HasAllProducts/Configure.cshtml
+++ b/src/Plugins/DiscountRules.Standard/Areas/Admin/Views/HasAllProducts/Configure.cshtml
@@ -59,6 +59,7 @@
$('#btnAddNewDiscountRequirementProduct@(Model.RequirementId)').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Plugins/DiscountRules.Standard/Areas/Admin/Views/HasOneProduct/Configure.cshtml b/src/Plugins/DiscountRules.Standard/Areas/Admin/Views/HasOneProduct/Configure.cshtml
index c4952c947..9ca596fd2 100644
--- a/src/Plugins/DiscountRules.Standard/Areas/Admin/Views/HasOneProduct/Configure.cshtml
+++ b/src/Plugins/DiscountRules.Standard/Areas/Admin/Views/HasOneProduct/Configure.cshtml
@@ -61,6 +61,7 @@
$('#btnAddNewDiscountRequirementProduct@(Model.RequirementId)').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Plugins/Shipping.ByWeight/Areas/Admin/Views/ShippingByWeight/Configure.cshtml b/src/Plugins/Shipping.ByWeight/Areas/Admin/Views/ShippingByWeight/Configure.cshtml
index cccd8b27f..e7c7ef4b5 100644
--- a/src/Plugins/Shipping.ByWeight/Areas/Admin/Views/ShippingByWeight/Configure.cshtml
+++ b/src/Plugins/Shipping.ByWeight/Areas/Admin/Views/ShippingByWeight/Configure.cshtml
@@ -33,6 +33,7 @@
$('#btnAddNewOption').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Plugins/Shipping.ShippingPoint/Areas/Admin/Views/ShippingPoint/Configure.cshtml b/src/Plugins/Shipping.ShippingPoint/Areas/Admin/Views/ShippingPoint/Configure.cshtml
index a23639831..c340d91aa 100644
--- a/src/Plugins/Shipping.ShippingPoint/Areas/Admin/Views/ShippingPoint/Configure.cshtml
+++ b/src/Plugins/Shipping.ShippingPoint/Areas/Admin/Views/ShippingPoint/Configure.cshtml
@@ -13,6 +13,7 @@
$('#btnAddNewOption').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -27,6 +28,7 @@
$('.editpopup').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.TabValues.cshtml
index 099fd753b..4f051db0d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.TabValues.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.TabValues.cshtml
@@ -18,6 +18,7 @@
$('#btnAddNewValue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -32,6 +33,7 @@
$('.editvalue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabInfo.cshtml
index a64349bad..e53d71b30 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabInfo.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabInfo.cshtml
@@ -109,6 +109,7 @@
$('.picturelink').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks:
{
parseAjax: function (mfpResponse) {
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabProducts.cshtml
index cfc90ce0c..d5f0e67eb 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabProducts.cshtml
@@ -18,6 +18,7 @@
$('#btnAddNewProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.Posts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.Posts.cshtml
index f6b70368f..1d5422248 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.Posts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.Posts.cshtml
@@ -17,6 +17,7 @@
$('#btnAddNewPost').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabInfo.cshtml
index 2b53c19a4..c8ffe47bb 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabInfo.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabInfo.cshtml
@@ -112,6 +112,7 @@
$('.editpicture').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabInfo.cshtml
index 0fb5dc442..edc58fa8b 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabInfo.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabInfo.cshtml
@@ -151,6 +151,7 @@
$('.editpicture').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabProducts.cshtml
index 8e5bdcd95..f52d17ebc 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabProducts.cshtml
@@ -17,6 +17,7 @@
$('#btnAddNewProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabValues.cshtml
index bd0b9b496..dec71ef1e 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabValues.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabValues.cshtml
@@ -19,6 +19,7 @@
$('#btnAddNewValue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -33,6 +34,7 @@
$('.editvalue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabInfo.cshtml
index 7fa6f9917..80ab429a8 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabInfo.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabInfo.cshtml
@@ -113,6 +113,7 @@
$('.editpicture').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabProducts.cshtml
index 4c6fa847c..1056587e7 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabProducts.cshtml
@@ -18,6 +18,7 @@
$('#btnAddNewProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabValues.cshtml
index 174733200..8940a6719 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabValues.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabValues.cshtml
@@ -19,6 +19,7 @@
$('#btnAddNewValue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -33,6 +34,7 @@
$('.editvalue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.TabStates.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.TabStates.cshtml
index cd0626ba6..0ad43ec90 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.TabStates.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.TabStates.cshtml
@@ -18,6 +18,7 @@
$('#btnAddNewState').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -32,6 +33,7 @@
$('.editstate').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.TabInfo.cshtml
index 32eac58d7..ade0770ec 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.TabInfo.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.TabInfo.cshtml
@@ -139,6 +139,7 @@
$('#btnAssociateProductToCoursePopup').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProduct.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProduct.cshtml
index 6a52eccae..10058d71f 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProduct.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProduct.cshtml
@@ -18,6 +18,7 @@
$('#btnAddNewPersonalizedProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProductPrice.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProductPrice.cshtml
index 19805096c..2ac00def1 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProductPrice.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProductPrice.cshtml
@@ -22,6 +22,7 @@
$('#btnAddNewProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCategory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCategory.cshtml
index 8256c771e..f36450424 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCategory.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCategory.cshtml
@@ -22,6 +22,7 @@
$('#btnAddNewCategory').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCollection.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCollection.cshtml
index 27cc6f699..d15a651d5 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCollection.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCollection.cshtml
@@ -22,6 +22,7 @@
$('#btnAddNewCollection').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProduct.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProduct.cshtml
index 79e3ef652..8b604cbf4 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProduct.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProduct.cshtml
@@ -24,6 +24,7 @@
$('#btnAddNewProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.TabValues.cshtml
index 671513c23..8bfa20e0b 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.TabValues.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.TabValues.cshtml
@@ -20,6 +20,7 @@
$('#btnAddNewValue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -34,6 +35,7 @@
$('.editvalue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabAcl.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabAcl.cshtml
index 10b21f02b..61361420c 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabAcl.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabAcl.cshtml
@@ -21,6 +21,7 @@
$('.permissionlink').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabProducts.cshtml
index a6fc31506..5811d94a5 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabProducts.cshtml
@@ -27,6 +27,7 @@
$('#btnAddNewProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCategory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCategory.cshtml
index 22902ebfa..baa3f17a7 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCategory.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCategory.cshtml
@@ -22,6 +22,7 @@
$('#btnAddNewCategory').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCollection.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCollection.cshtml
index c4fac31d3..225faa051 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCollection.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCollection.cshtml
@@ -23,6 +23,7 @@
$('#btnAddNewCollection').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionProduct.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionProduct.cshtml
index 160fe5dab..172241366 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionProduct.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionProduct.cshtml
@@ -22,6 +22,7 @@
$('#btnAddNewProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabProducts.cshtml
index 0a7ec6c38..87cc40680 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabProducts.cshtml
@@ -26,6 +26,7 @@
$('#btnAddNewProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToBrands.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToBrands.cshtml
index 1aaaa9ee8..74dc8a450 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToBrands.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToBrands.cshtml
@@ -19,6 +19,7 @@
$('#btnAddNewBrand').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCategories.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCategories.cshtml
index 3d13947f0..262d94791 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCategories.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCategories.cshtml
@@ -19,6 +19,7 @@
$('#btnAddNewCategory').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCollections.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCollections.cshtml
index 511df4956..ec93b79af 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCollections.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCollections.cshtml
@@ -19,6 +19,7 @@
$('#btnAddNewCollection').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToProducts.cshtml
index 02d1d7bb5..41af28429 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToProducts.cshtml
@@ -22,6 +22,7 @@
$('#btnAddNewProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToVendors.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToVendors.cshtml
index 370424fb9..7d367f0fd 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToVendors.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToVendors.cshtml
@@ -19,6 +19,7 @@
$('#btnAddNewVendor').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.TabValues.cshtml
index 44cb7d56c..0d8eea076 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.TabValues.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.TabValues.cshtml
@@ -18,6 +18,7 @@
$('#btnAddNewValues').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -32,6 +33,7 @@
$('.editvalue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabRelated.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabRelated.cshtml
index 1dbe5f987..8dfd72f6a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabRelated.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabRelated.cshtml
@@ -17,6 +17,7 @@
$('#btnAddNewRelatedArticle').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Products.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Products.cshtml
index 89ae1f6af..e38f78c43 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Products.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Products.cshtml
@@ -196,6 +196,7 @@
$('#pvlicensefile').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Edit.cshtml
index 7b4c84584..17d309e59 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Edit.cshtml
@@ -102,6 +102,7 @@
$('#partiallypaidpaymenttransactionoffline').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -114,6 +115,7 @@
$('#partiallyrefundpaymenttransaction').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -126,6 +128,7 @@
$('#partiallyrefundpaymenttransactionoffline').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Permission/Index.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Permission/Index.cshtml
index b5d025a4b..84ab65315 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Permission/Index.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Permission/Index.cshtml
@@ -121,6 +121,7 @@
$('.permissionlink').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Additional.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Additional.cshtml
index 0c15f74b2..ddea1227d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Additional.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Additional.cshtml
@@ -214,6 +214,7 @@
$('#btnAddNewRequiredProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.AssociatedProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.AssociatedProducts.cshtml
index dc6d89d87..b220250cc 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.AssociatedProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.AssociatedProducts.cshtml
@@ -23,6 +23,7 @@
$('#btnAddNewAssociatedProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.BundleProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.BundleProducts.cshtml
index 38e877805..ec562097e 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.BundleProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.BundleProducts.cshtml
@@ -22,6 +22,7 @@
$('#btnAddNewBundleProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.CrossSells.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.CrossSells.cshtml
index 151170e3b..fc1c2f7db 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.CrossSells.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.CrossSells.cshtml
@@ -23,6 +23,7 @@
$('#btnAddNewCrossSellProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Pictures.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Pictures.cshtml
index 394a5f9a2..e7bc72065 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Pictures.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Pictures.cshtml
@@ -16,6 +16,7 @@
$('.editpicture').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Prices.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Prices.cshtml
index 52a7d14d2..f4c9427ef 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Prices.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Prices.cshtml
@@ -201,6 +201,7 @@
$('#btnAddNewTierPrice').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -215,6 +216,7 @@
$('.tierpriceedit').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributeCombinations.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributeCombinations.cshtml
index c07997862..66278289c 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributeCombinations.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributeCombinations.cshtml
@@ -27,6 +27,7 @@
$('#btnAddNewCombination').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -41,6 +42,7 @@
$('.editcombinationlink').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributes.cshtml
index 7347129e9..482bccb8b 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributes.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributes.cshtml
@@ -19,6 +19,7 @@
$('#btnAddNewAttributes').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -106,6 +107,7 @@
$('.btnMagnificPopup').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -208,6 +210,7 @@
$('.btnProductAttributeValueEditPopup').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Recommended.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Recommended.cshtml
index 2b933fadc..10246b499 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Recommended.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Recommended.cshtml
@@ -23,6 +23,7 @@
$('#btnAddNewRecommendedProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.RelatedProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.RelatedProducts.cshtml
index d867a1691..13783fe28 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.RelatedProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.RelatedProducts.cshtml
@@ -20,6 +20,7 @@
$(document).ready(function () {
$('#btnAddNewRelatedProduct').magnificPopup({
type: 'ajax',
+ midClick: true,
settings: { cache: false, async: false },
callbacks: {
parseAjax: function (mfpResponse) {
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SimilarProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SimilarProducts.cshtml
index 7954f4730..5ff6e69f1 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SimilarProducts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SimilarProducts.cshtml
@@ -21,6 +21,7 @@
$('#btnAddNewSimilarProduct').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SpecificationAttributes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SpecificationAttributes.cshtml
index 99eef1704..f7a28db28 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SpecificationAttributes.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SpecificationAttributes.cshtml
@@ -19,6 +19,7 @@
$('#btnAddNewSpecification').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -83,6 +84,7 @@
$('.btnMagnificPopup').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdateProductAttributeValue.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdateProductAttributeValue.cshtml
index e2cf07cd0..dbf6a1510 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdateProductAttributeValue.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdateProductAttributeValue.cshtml
@@ -23,6 +23,7 @@
$('#btnAssociateProductToAttributeValuePopup').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabPredefinedValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabPredefinedValues.cshtml
index 626afedc5..ec8eb0613 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabPredefinedValues.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabPredefinedValues.cshtml
@@ -18,6 +18,7 @@
$('#btnAddNewValue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -32,6 +33,7 @@
$('.editvalue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabOptions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabOptions.cshtml
index 1ca3cfec2..38f401a5d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabOptions.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabOptions.cshtml
@@ -24,6 +24,7 @@
$('#btnAddNewOption').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);
@@ -38,6 +39,7 @@
$('.editoption').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
+ midClick: true,
callbacks: {
parseAjax: function (mfpResponse) {
mfpResponse.data = $('<div></div>').html(mfpResponse.data);