[minor] Added allow rename in employee webnotes/erpnext#962
This commit is contained in:
parent
b28916d8bd
commit
5cb4915801
1 changed files with 3 additions and 1 deletions
|
|
@ -76,11 +76,13 @@ wn.ui.form.InfoBar = Class.extend({
|
|||
html: true,
|
||||
placement: "bottom"
|
||||
})
|
||||
|
||||
this.$comments
|
||||
.popover("destroy")
|
||||
|
||||
if(this.docinfo.comments.length) {
|
||||
var last = this.docinfo.comments[0];
|
||||
this.$comments
|
||||
.popover("destroy")
|
||||
.popover({
|
||||
title: "Last Comment",
|
||||
content: last.comment
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue