Also allow ${id} syntax for consistency with flyout
// 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');
