From 0142de1c03c42a46477605cb5f9680f704f485ca Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 6 May 2021 22:22:37 +0200 Subject: [PATCH] collapse search form after searching --- views/bootstrap/class.Search.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Search.php b/views/bootstrap/class.Search.php index c24743b24..be607a93b 100644 --- a/views/bootstrap/class.Search.php +++ b/views/bootstrap/class.Search.php @@ -63,6 +63,12 @@ class SeedDMS_View_Search extends SeedDMS_Theme_Style { /* Add js for catching click on document in one page mode */ $this->printClickDocumentJs(); $this->printClickFolderJs(); +?> +$(document).ready(function() { + $('body').on('submit', '#form1', function(ev){ + }); +}); +rowStart(); $this->columnStart(4); - $this->contentHeading(getMLText('search')); -//echo "
";print_r($_GET);echo "
"; + $this->contentHeading(" ".getMLText('search'), true); + if($this->query) { + echo "
"; + } ?>
"; $this->columnEnd(); $this->columnStart(8); $this->contentHeading(getMLText('search_results'));