mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-21 21:53:30 +00:00
Small fixes
This commit is contained in:
parent
d2c580dd81
commit
9847186b06
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user