[fix] linked_with now using list view rendering (#2233)

This commit is contained in:
robert schouten 2016-11-03 15:42:54 +08:00 committed by Rushabh Mehta
parent 2a3f929e35
commit ea7982d1f8

View file

@ -136,6 +136,7 @@ frappe.ui.form.LinkedWith = Class.extend({
var listview = frappe.views.get_listview(doctype, me);
listview.no_delete = true;
me.current_view = "List"
var wrapper = $('<div class="panel panel-default"><div>').appendTo(parent);
$('<div class="panel-heading">').html(__(doctype).bold()).appendTo(wrapper);