Commit 88096b28 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update HistoryFilter to add the option layout.multi.

parent c9ba1316
......@@ -36,8 +36,9 @@ Ext.define('TrackEvents.grid.HistoryFilter', {
// the arcordeon layout
me.layout = {
type: 'accordion',
titleCollapse: true
multi: true,
titleCollapse: true,
type: 'accordion'
};
me.defaults = {
......@@ -86,24 +87,30 @@ Ext.define('TrackEvents.grid.HistoryFilter', {
// create the new item structure by adding sub-panel
me.items = [{
title: me.textMetadata,
collapsed: false,
items: metadata
}, {
title: me.textPeople,
collapsed: true,
items: people
}, {
title: me.textObject,
collapsed: true,
items: object
}, {
title: me.textEventData,
items: eventdata,
layout: 'fit'
collapsed: true,
layout: 'fit',
items: eventdata
}, {
title: me.textPeriod,
collapsed: true,
items: period
}, {
title: me.textFunding,
items: funding,
layout: 'fit'
collapsed: true,
layout: 'fit',
items: funding
}];
// initialise the base class
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment