From 967748ded30216274d01be6ef15d25d33487e715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Sat, 25 Mar 2017 09:58:20 +0100 Subject: [PATCH] details link to read instead of update - It was the old behaviour. --- kfet/static/kfet/js/kpsul.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kfet/static/kfet/js/kpsul.js b/kfet/static/kfet/js/kpsul.js index 65b9006c..b6c7e4a6 100644 --- a/kfet/static/kfet/js/kpsul.js +++ b/kfet/static/kfet/js/kpsul.js @@ -57,8 +57,8 @@ class AccountManager { buttons += ''; } } else { /* an account is loaded */ - var url = Urls['kfet.account.update'](encodeURIComponent(this.account.trigramme)); - buttons += ''; + var url = this.account.url_object; + buttons += ''; } this._$container.find('.buttons').html(buttons);