Also allow ${id} syntax for consistency with flyout
This commit is contained in:
parent
2f298b4093
commit
f9ef60e839
@ -1303,7 +1303,7 @@
|
||||
// clicking with the middle button sends the user to
|
||||
// the view page.
|
||||
if('view_url' in this.options && data.id) {
|
||||
var view_url = this.options.view_url.replace('{{id}}', data.id);
|
||||
var view_url = this.options.view_url.replace('{{id}}', data.id).replace('${id}', data.id);
|
||||
li.on('mousedown', function(e) {
|
||||
if (e.which == 2) {
|
||||
var win = window.open(view_url, '_blank');
|
||||
|
Loading…
Reference in New Issue
Block a user