mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-26 10:08:30 +00:00
[cleanup] Fixed title bars, toolbars in all pages, added default background
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// show tasks
|
||||
cur_frm.cscript.refresh = function(doc) {
|
||||
if(!doc.__islocal) {
|
||||
cur_frm.add_custom_button(wn._("Gantt Chart"), function() {
|
||||
cur_frm.appframe.add_button(wn._("Gantt Chart"), function() {
|
||||
wn.route_options = {"project": doc.name}
|
||||
wn.set_route("Gantt", "Task");
|
||||
}, "icon-tasks");
|
||||
|
||||
Reference in New Issue
Block a user