]> _ Git - fluidbook-html5.git/commitdiff
wait #5289 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 20 May 2022 13:27:47 +0000 (15:27 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 20 May 2022 13:27:50 +0000 (15:27 +0200)
js/libs/fluidbook/cart/fluidbook.cart.puma.js

index 8410d10bf1daa3e197d20747b30018ae812d53a9..7011e5b94f03db570e3885dfba2262568bb239b5 100644 (file)
@@ -259,7 +259,11 @@ FluidbookCartPuma.prototype = {
                 if (v.Reference === ref) {
                     var row = {};
                     $.each(columnsLabels, function (kk, vv) {
-                        row[vv] = v[vv];
+                        if (vv === 'Reference') {
+                            row[vv] = v[vv].replace(/\s+/g, '-');
+                        } else {
+                            row[vv] = v[vv];
+                        }
                     });
                     sheet.addRow(row);
                 }