Merge pull request #6 in KWA/mobile-device-management from ~RTOUSSAINT/mobile-device-management:bugfix/KMP-3-device-list-grid-does-not-properly to master

* commit '2a052020b3a9ef8cb9aaed4c0d1714f1c592e6c4':
  KMP-3: Changed layout of mdm grid's parent panel to 'fit'
This commit is contained in:
Sean van der Spek 2016-12-12 14:57:59 +01:00
commit 6911524059

View File

@ -14,12 +14,12 @@ Zarafa.plugins.mdm.settings.MDMSettingsWidget = Ext.extend(Zarafa.settings.ui.Se
{ {
config = config || {}; config = config || {};
var store = new Zarafa.plugins.mdm.data.MDMDeviceStore(); var store = new Zarafa.plugins.mdm.data.MDMDeviceStore();
Ext.applyIf(config, { Ext.applyIf(config, {
title : _('Mobile Devices', 'plugin_mdm'), title : _('Mobile Devices', 'plugin_mdm'),
items : [{ items : [{
xtype : 'container', xtype : 'container',
layout : 'column', layout: 'fit',
items : [{ items : [{
xtype : 'grid', xtype : 'grid',
name : _('Devices', 'plugin_mdm'), name : _('Devices', 'plugin_mdm'),
@ -96,7 +96,7 @@ Zarafa.plugins.mdm.settings.MDMSettingsWidget = Ext.extend(Zarafa.settings.ui.Se
/** /**
* Function which handles the click event on the "Wipe Device" button, displays * Function which handles the click event on the "Wipe Device" button, displays
* a MessageBox for the user to confirm the wipe action. The wipe action is * a MessageBox for the user to confirm the wipe action. The wipe action is
* handled by the onWipeDevice function. * handled by the onWipeDevice function.
*/ */
onWipeBtn : function() onWipeBtn : function()