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