[MIN] Fix List Renderer (#4652)

* fixed multiple dialog render

* minor fix list renderer
This commit is contained in:
Achilles Rasquinha 2017-12-19 11:57:00 +05:30 committed by Nabin Hait
parent 50d7caedbb
commit 41d2f92cfb

View file

@ -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;
});
},