Small fixes

This commit is contained in:
Skia 2016-12-08 15:16:42 +01:00
parent d2c580dd81
commit 9847186b06
2 changed files with 2 additions and 2 deletions

View File

@ -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):
"""

View File

@ -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>