From 028def73d91d09c809de625005c27347c99b26d3 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 6 Jul 2023 16:50:22 +0530 Subject: [PATCH] resize documents filter on sidebar resize, closes: #3268 --- static/js/documentContentPanel.js | 3 --- static/js/documentPanel.js | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/static/js/documentContentPanel.js b/static/js/documentContentPanel.js index b1bbc5d03..a5b0f32ce 100644 --- a/static/js/documentContentPanel.js +++ b/static/js/documentContentPanel.js @@ -37,9 +37,6 @@ pandora.ui.documentContentPanel = function() { orientation: 'vertical' }) .bindEvent({ - resize: function(data) { - Ox.print('split resize'); - }, pandora_document: function(data) { if (data.value && data.previousValue) { that.replaceElement(1, pandora.$ui.document = pandora.ui.document()); diff --git a/static/js/documentPanel.js b/static/js/documentPanel.js index 5dd9445f6..f24ffb09a 100644 --- a/static/js/documentPanel.js +++ b/static/js/documentPanel.js @@ -18,6 +18,7 @@ pandora.ui.documentPanel = function() { resize: function(data) { if (!pandora.user.ui.document) { pandora.$ui.list && pandora.$ui.list.size(); + pandora.resizeFilters(); } else { pandora.$ui.document && pandora.$ui.document.update(); }