[gantt] update lib and some fixes (#2645)
This commit is contained in:
parent
d17b5a0dce
commit
ffdc5825dc
4 changed files with 1775 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ frappe.db = {
|
|||
filters: filters
|
||||
},
|
||||
callback: function(r, rt) {
|
||||
callback(r.message);
|
||||
callback && callback(r.message);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -528,7 +528,7 @@ frappe.views.DocListView = frappe.ui.Listing.extend({
|
|||
|
||||
frappe.require([
|
||||
"assets/frappe/js/lib/snap.svg-min.js",
|
||||
"assets/frappe/js/lib/frappe-gantt/frappe-gantt.min.js"
|
||||
"assets/frappe/js/lib/frappe-gantt/frappe-gantt.js"
|
||||
], function() {
|
||||
me.gantt = new Gantt("#"+id, tasks, {
|
||||
date_format: "YYYY-MM-DD",
|
||||
|
|
|
|||
1773
frappe/public/js/lib/frappe-gantt/frappe-gantt.js
Executable file
1773
frappe/public/js/lib/frappe-gantt/frappe-gantt.js
Executable file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue