2014-05-04 19:26:43 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
oml.ui.rightPanel = function() {
|
|
|
|
|
2016-01-12 18:45:15 +05:30
|
|
|
var that = Ox.SplitPanel({
|
2014-05-04 19:26:43 +02:00
|
|
|
elements: [
|
|
|
|
{
|
2016-01-12 18:45:15 +05:30
|
|
|
element: oml.$ui.toolbar = oml.ui.toolbar(),
|
|
|
|
size: 24
|
2014-05-04 19:26:43 +02:00
|
|
|
},
|
|
|
|
{
|
2016-01-12 18:45:15 +05:30
|
|
|
element: oml.$ui.viewPanel = oml.ui.viewPanel()
|
2014-05-04 19:26:43 +02:00
|
|
|
}
|
|
|
|
],
|
2016-01-12 18:45:15 +05:30
|
|
|
orientation: 'vertical'
|
2014-05-04 19:26:43 +02:00
|
|
|
})
|
|
|
|
.bindEvent({
|
|
|
|
resize: function(data) {
|
2016-01-12 18:45:15 +05:30
|
|
|
oml.$ui.viewPanel.options({size: data.size});
|
2014-05-17 13:45:57 +02:00
|
|
|
oml.$ui.filtersOuterPanel.updateElement();
|
2016-01-10 15:09:21 +05:30
|
|
|
oml.$ui.list.size();
|
2016-01-12 19:11:52 +05:30
|
|
|
oml.$ui.itemViewPanel.options({size: data.size});
|
2014-05-04 19:26:43 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
return that;
|
|
|
|
|
2014-05-19 17:00:33 +02:00
|
|
|
};
|