documents panel: react to document size change
This commit is contained in:
parent
16491d18b2
commit
d2d2636248
1 changed files with 3 additions and 0 deletions
|
@ -379,6 +379,9 @@ pandora.ui.documentsPanel = function(options) {
|
|||
orientation: 'horizontal'
|
||||
})
|
||||
.bindEvent({
|
||||
pandora_documentsize: function(data) {
|
||||
that.size(1, data.value);
|
||||
},
|
||||
pandora_documentssort: function(data) {
|
||||
updateSortElement();
|
||||
$list.options({sort: data.value});
|
||||
|
|
Loading…
Reference in a new issue