[gantt] update lib and some fixes (#2645)

This commit is contained in:
Faris Ansari 2017-01-30 15:29:50 +05:30 committed by Rushabh Mehta
parent d17b5a0dce
commit ffdc5825dc
4 changed files with 1775 additions and 4 deletions

View file

@ -11,7 +11,7 @@ frappe.db = {
filters: filters
},
callback: function(r, rt) {
callback(r.message);
callback && callback(r.message);
}
});
},

View file

@ -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",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long