Skip to content
Permalink
Browse files

Add widget welcome dashboard changes [#14607]

* upstream/pr/14607:
  Add widget welcome dashboard changes
  • Loading branch information...
Alroniks committed Jun 26, 2019
2 parents 0ae1b03 + 4db6134 commit 53e07ff019f667b991cc77b7ec936789ec568938
Showing with 7 additions and 11 deletions.
  1. +1 −0 core/docs/changelog.txt
  2. +6 −11 manager/assets/modext/widgets/modx.panel.welcome.js
@@ -4,6 +4,7 @@ development release, and is only shown to give an idea of what's currently in th

MODX Revolution 3.0.0-beta1 (TBD)
====================================
- Add widget welcome dashboard changes [#14607]
- Media browser reload [#14570]
- Fixed bug for checking the table prefix while installing MODX [#14543]
- Refactor model for xPDO 3.x and PSR-4 autoloading [#14534]
@@ -282,6 +282,11 @@ Ext.extend(MODx.window.DashboardWidgetAdd, MODx.Window, {

getFields: function (config) {
return [{
hideLabel: true,
xtype: 'displayfield',
html: _('widget_add_desc'),
anchor: '100%'
}, {
fieldLabel: _('widget_add'),
id: this.ident + '-widget',
xtype: 'modx-combo-dashboard-widgets',
@@ -308,23 +313,13 @@ Ext.extend(MODx.window.DashboardWidgetAdd, MODx.Window, {
}, this);
}
}
}, {
hideLabel: true,
xtype: 'displayfield',
html: _('widget_add_desc'),
anchor: '100%'
}, {
fieldLabel: _('widget_size'),
id: this.ident + '-size',
xtype: 'modx-combo-dashboard-widget-size',
name: 'size',
value: 'half',
anchor: '100%'
}, {
hideLabel: true,
xtype: 'displayfield',
html: _('widget_size_desc'),
anchor: '100%'
}];
},

@@ -357,4 +352,4 @@ Ext.extend(MODx.window.DashboardWidgetAdd, MODx.Window, {
}];
},
});
Ext.reg('modx-window-dashboard-widget-add', MODx.window.DashboardWidgetAdd);
Ext.reg('modx-window-dashboard-widget-add', MODx.window.DashboardWidgetAdd);

0 comments on commit 53e07ff

Please sign in to comment.
You can’t perform that action at this time.