From d2d26362482de1bc3bdc994b260bfd7af75b1dee Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 16 Jan 2014 03:06:48 +0000 Subject: [PATCH] documents panel: react to document size change --- static/js/documentsPanel.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/documentsPanel.js b/static/js/documentsPanel.js index 5d065e59..2f0f39fb 100644 --- a/static/js/documentsPanel.js +++ b/static/js/documentsPanel.js @@ -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});