[fields, project] [fix] NaN bug, project gantt refresh bug

This commit is contained in:
Rushabh Mehta
2013-03-26 13:02:22 +05:30
parent 06e3ef055b
commit b6c117957f
3 changed files with 8 additions and 4 deletions

View File

@@ -26,6 +26,9 @@ cur_frm.cscript.refresh = function(doc) {
.appendTo(cur_frm.fields_dict.project_tasks.wrapper);
cur_frm.gantt_area.empty();
erpnext.show_task_gantt(cur_frm.gantt_area, cur_frm.docname);
} else {
if(cur_frm.gantt_area)
cur_frm.gantt_area.empty();
}
}