Skip to content

Commit

Permalink
fix(Crm/js): make task grid in LeadEditDialog scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
ccheng-dev committed Mar 21, 2024
1 parent 3ee87e5 commit c49cd68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tine20/Crm/js/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ Tine.Crm.Contact.GridPanel = Ext.extend(Ext.grid.EditorGridPanel, {
getColumnModel: function() {
return new Ext.grid.ColumnModel({
defaults: {
sortable: true
sortable: true,
resizable: true,
},
columns: [
{id:'id', header: "id", dataIndex: 'id', width: 25, hidden: true },
Expand Down
6 changes: 4 additions & 2 deletions tine20/Crm/js/LeadEditDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Tine.Crm.LeadEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
this.contactGrid.store.loadData(relations.contacts, true);
this.notificationsAction.setText(this.app.i18n._hidden(!!+this.record.get('mute') ?
'Notifications are disabled' : 'Notifications are enabled'));
debugger

this.notificationsAction.callEach('toggle', [!!+this.record.get('mute')]);

if (this.productsGrid.store) {
Expand Down Expand Up @@ -407,13 +407,15 @@ Tine.Crm.LeadEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
collapseMode: 'mini',
header: false,
collapsible: true,
autoScroll: true,
items: [{
xtype: 'panel',
layout:'column',
height: 140,
height: 120,
id: 'lead_combos',
anchor:'100%',
labelAlign: 'top',
bodyStyle: 'margin: 10px',
items: [{
columnWidth: 0.33,
items:[{
Expand Down

0 comments on commit c49cd68

Please sign in to comment.