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.

Minor fix

KrzysztofPajak0c1f78a588d5
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 a3bf954ef..e45bbc684 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
@@ -15,8 +15,7 @@
</div>
<script>
$(document).ready(function() {
- $(document).ready(function () {
- $('#btnAddNewValue').magnificPopup({
+ $('#btnAddNewValue').magnificPopup({
type: 'ajax',
settings: { cache: false, async: false },
callbacks: {
@@ -27,7 +26,6 @@
$('.mfp-wrap').removeAttr('tabindex');
}
}
- });
});
$("#productattributevalues-grid").kendoGrid({
dataBound: function () {
@@ -123,10 +121,7 @@
}
]
});
- });
- </script>
- <script>
- $(document).ready(function () {
+
$('#btnRefresh').click(function () {
//refresh grid
var grid = $("#productattributevalues-grid").data('kendoGrid');