forked from 0x2620/pandora
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'
|
orientation: 'horizontal'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
pandora_documentsize: function(data) {
|
||||||
|
that.size(1, data.value);
|
||||||
|
},
|
||||||
pandora_documentssort: function(data) {
|
pandora_documentssort: function(data) {
|
||||||
updateSortElement();
|
updateSortElement();
|
||||||
$list.options({sort: data.value});
|
$list.options({sort: data.value});
|
||||||
|
|
Loading…
Reference in a new issue