From d4f228cdfb3e759353a687cfe0b77030a9454322 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 23 Apr 2009 06:05:48 +0000 Subject: [PATCH] "handling if user clicks on a link in filemanager - reset lettersearch as it confuses users (they think the dir is empty) - switch recusive display off " --- filemanager/inc/class.filemanager_ui.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index ae6568adb2..ce424b0c4a 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -110,6 +110,10 @@ class filemanager_ui { $msg .= lang('The requested path %1 is not available.',$path); } + // reset lettersearch as it confuses users (they think the dir is empty) + $content['nm']['searchletter'] = false; + // switch recusive display off + if (!$content['nm']['filter']) $content['nm']['filter'] = '1'; } } // check if we have a failed upload AND upload_max_filesize >= post_max_size --> no $_POST array