diff --git a/js/legacy/widgets/layout.js b/js/legacy/widgets/layout.js index a759132615..9c4cfc22ac 100644 --- a/js/legacy/widgets/layout.js +++ b/js/legacy/widgets/layout.js @@ -89,7 +89,7 @@ function LayoutRow(layout, parent) { this.header = $a(this.main_body, 'div','',{padding:(layout.with_border ? '0px 8px' : '0px')}); this.body = $a(this.main_body,'div'); - this.table = $a(this.body, 'table', '', {width:'100%', borderCollapse: 'collapse'}); + this.table = $a(this.body, 'table', '', {width:'100%', borderCollapse: 'collapse', tableLayout:'fixed'}); this.row = this.table.insertRow(0); this.mycells = []; diff --git a/js/lib/jQuery.Gantt/css/style.css b/js/lib/jQuery.Gantt/css/style.css index e4fa914059..33908a8b2f 100644 --- a/js/lib/jQuery.Gantt/css/style.css +++ b/js/lib/jQuery.Gantt/css/style.css @@ -226,6 +226,13 @@ color: #714715 !important; } +.fn-gantt .ganttGray { + background-color: #eee; +} +.fn-gantt .ganttGray .fn-label { + color: #888 !important; +} + /* === BOTTOM NAVIGATION === */ diff --git a/py/webnotes/widgets/form/assign_to.py b/py/webnotes/widgets/form/assign_to.py index 55e3d8e8fd..cce8d32a6d 100644 --- a/py/webnotes/widgets/form/assign_to.py +++ b/py/webnotes/widgets/form/assign_to.py @@ -55,7 +55,7 @@ def add(args=None): d.description = args['description'] d.priority = args.get('priority', 'Medium') d.date = args.get('date', nowdate()) - d.assigned_by = webnotes.user.name + d.assigned_by = args.get('assigned_by', webnotes.user.name) d.save(1) # notify