]> _ Git - fluidbook-html5.git/commitdiff
wip #4047 @0:15
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 16 Nov 2020 11:24:45 +0000 (12:24 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 16 Nov 2020 11:24:45 +0000 (12:24 +0100)
js/libs/fluidbook/cart/fluidbook.cart.mif.js

index ce6189b99c6c6c539d2c3343d7e9436523e9775f..1c11faa674a2b543618ff68405af7fcc162aa84a 100644 (file)
@@ -44,7 +44,8 @@ FluidbookCartMIF.prototype = {
 
     getItems: function () {
         var res = [];
-        $(this.getItems()).each(function (i, ref) {
+        var $this = this;
+        $(this.items).each(function (i, ref) {
             if ($this.data[ref] !== undefined && $this.data[ref] !== null) {
                 res.push(ref);
             }