Fix JS K-Psul
This commit is contained in:
parent
468098ae7b
commit
5e6645ab84
1 changed files with 1 additions and 1 deletions
|
@ -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>';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue