Fix JS K-Psul

This commit is contained in:
Aurélien Delobelle 2016-09-05 20:19:46 +02:00
parent 468098ae7b
commit 5e6645ab84

View file

@ -67,7 +67,7 @@ function getErrorsHtml(data) {
}
if ('negative' in data['errors']) {
var url_base = "{% url 'kfet.account.update' LIQ}";
url_base = base_url(0, url_base.length-8);
url_base = url_base(0, url_base.length-8);
for (var i=0; i<data['errors']['negative'].length; i++) {
content += '<a class="btn btn-primary" href="'+url_base+data['errors']['negative'][i]+'/edit" target="_blank" style="width:100%">Autorisation de négatif requise pour '+data['errors']['negative'][i]+'</a>';
}