forked from DGNum/gestioCOF
details link to read instead of update
- It was the old behaviour.
This commit is contained in:
parent
72970c6be7
commit
967748ded3
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ class AccountManager {
|
|||
buttons += '<button class="btn btn-primary search" title="Rechercher"><span class="glyphicon glyphicon-search"></span></button>';
|
||||
}
|
||||
} else { /* an account is loaded */
|
||||
var url = Urls['kfet.account.update'](encodeURIComponent(this.account.trigramme));
|
||||
buttons += '<a href="'+url+'" class="btn btn-primary" target="_blank" title="Modifier ce compte"><span class="glyphicon glyphicon-cog"></span></a>';
|
||||
var url = this.account.url_object;
|
||||
buttons += '<a href="'+url+'" class="btn btn-primary" target="_blank" title="Détails du compte"><span class="glyphicon glyphicon-cog"></span></a>';
|
||||
}
|
||||
|
||||
this._$container.find('.buttons').html(buttons);
|
||||
|
|
Loading…
Reference in a new issue