added last comment in form
This commit is contained in:
parent
2d85baf67d
commit
b1a16e9db9
1 changed files with 4 additions and 1 deletions
|
|
@ -122,7 +122,10 @@ wn.widgets.form.sidebar = { Sidebar: function(form) {
|
|||
render: function(wrapper) {
|
||||
new wn.widgets.form.sidebar.Comments(wrapper, me, me.form.doctype, me.form.docname);
|
||||
},
|
||||
display: function() { return !me.form.doc.__islocal }
|
||||
display: function() {
|
||||
$(cur_frm.page_layout.body).find(".latest-comment").toggle(false);
|
||||
return !me.form.doc.__islocal;
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue