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.

Admin panel - Minor fix Product attributes

KrzysztofPajaka06f6ba153b0
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 5965600f7..fd98f96e8 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
@@ -112,7 +112,7 @@
}
}
});
- },
+ },
pageable: {
refresh: true,
numeric: false,
@@ -209,6 +209,7 @@
serverFiltering: true,
serverSorting: true
},
+
dataBound: function () {
$('.btnProductAttributeValueEditPopup').magnificPopup({
type: 'ajax',
@@ -285,7 +286,6 @@
grid.dataSource.read();
//return false to don't reload a page
return false;
- });
- $('#btnRefreshProductAttributes').click();
+ });
});
</script>
\ No newline at end of file