Fix hiding of preview pane on load
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 27 Sep 2010 18:07:47 +0000 (12:07 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 27 Sep 2010 18:07:47 +0000 (12:07 -0600)
imp/templates/dimp/javascript_defs_dimp.php

index f1f2b07..e3ed39b 100644 (file)
@@ -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')),