Commit 9847186b authored by Skia's avatar Skia 🤘
Browse files

Small fixes

parent d2c580dd
Pipeline #480 passed with stage
in 2 minutes and 29 seconds
...@@ -38,7 +38,7 @@ class Basket(models.Model): ...@@ -38,7 +38,7 @@ class Basket(models.Model):
return total return total
def __str__(self): def __str__(self):
return "Basket (%d items)" % self.items.all().count() return "%s's basket (%d items)" % (self.user, self.items.all().count())
class Invoice(models.Model): class Invoice(models.Model):
""" """
......
...@@ -152,7 +152,7 @@ $("form").submit(function (event) { ...@@ -152,7 +152,7 @@ $("form").submit(function (event) {
errorlist.appendChild(errors.shift()); errorlist.appendChild(errors.shift());
progress.value = ++completeCount / imagesCount; progress.value = ++completeCount / imagesCount;
if(progress.value === 1 && errorlist.children.length === 0) if(progress.value === 1 && errorlist.children.length === 0)
document.location.reload() document.location.reload(true)
} }
}); });
</script> </script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment