Skip to content

Commit

Permalink
[MIN] Fix List Renderer (#4652)
Browse files Browse the repository at this point in the history
* fixed multiple dialog render

* minor fix list renderer
  • Loading branch information
achillesrasquinha authored and nabinhait committed Dec 19, 2017
1 parent 50d7cae commit 41d2f92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frappe/public/js/frappe/list/list_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ frappe.views.ListRenderer = Class.extend({
}

var link = $(this).parent().find('a.list-id').get(0);
window.location.href = link.href;
if ( link && link.href )
window.location.href = link.href;
return false;
});
},
Expand Down

0 comments on commit 41d2f92

Please sign in to comment.