Commit 9847186b authored by Skia's avatar Skia

Small fixes

parent d2c580dd
Pipeline #480 passed with stage
in 2 minutes and 29 seconds
......@@ -38,7 +38,7 @@ class Basket(models.Model):
return total
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):
"""
......
......@@ -152,7 +152,7 @@ $("form").submit(function (event) {
errorlist.appendChild(errors.shift());
progress.value = ++completeCount / imagesCount;
if(progress.value === 1 && errorlist.children.length === 0)
document.location.reload()
document.location.reload(true)
}
});
</script>
......
Markdown is supported
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