From a4e1f3a722bec7af9ba50c1b7ded9c769879234a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 27 Sep 2010 12:07:47 -0600 Subject: [PATCH] Fix hiding of preview pane on load --- imp/templates/dimp/javascript_defs_dimp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/templates/dimp/javascript_defs_dimp.php b/imp/templates/dimp/javascript_defs_dimp.php index f1f2b07fb..e3ed39b88 100644 --- a/imp/templates/dimp/javascript_defs_dimp.php +++ b/imp/templates/dimp/javascript_defs_dimp.php @@ -84,7 +84,7 @@ $code['conf'] = array_filter(array( 'pop3' => intval((isset($_SESSION['imp']) && ($_SESSION['imp']['protocol'] == 'pop'))), 'popup_height' => 610, 'popup_width' => 820, - 'preview_pref' => ($GLOBALS['prefs']->getValue('dimp_show_preview') ? $GLOBALS['prefs']->getValue('dimp_show_preview') : 'horiz'), + 'preview_pref' => $GLOBALS['prefs']->getValue('dimp_show_preview'), 'qsearchid' => IMP_Search::MBOX_PREFIX . IMP_Search::DIMP_QUICKSEARCH, 'qsearchfield' => $GLOBALS['prefs']->getValue('dimp_qsearch_field'), 'refresh_time' => intval($GLOBALS['prefs']->getValue('refresh_time')), -- 2.11.0