Remove 'background_inbox' config (always load in background)
authorMichael M Slusarz <slusarz@curecanti.org>
Sat, 15 Aug 2009 19:42:13 +0000 (13:42 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Sat, 15 Aug 2009 20:06:24 +0000 (14:06 -0600)
imp/config/conf.xml
imp/js/DimpBase.js
imp/templates/javascript_defs_dimp.php

index 16e446b..1b2894e 100644 (file)
     <configinteger name="viewport_wait" desc="How long, in seconds, to wait
     before displaying an informational message to users that the message list is
     still being built. Set to 0 to disable messages.">12</configinteger>
-    <configboolean name="background_inbox" required="false" desc="On initial
-    login to the portal page, load the INBOX in the
-    background?">true</configboolean>
    </configsection>
 
    <configsection name="menu" desc="Menu Settings">
index 292fcab..dd771b2 100644 (file)
@@ -2464,9 +2464,7 @@ var DimpBase = {
                 this.go('folder:INBOX');
             } else {
                 this.go('portal');
-                if (DIMP.conf.background_inbox) {
-                    this.loadMailbox('INBOX', { background: true });
-                }
+                this.loadMailbox('INBOX', { background: true });
             }
         }
 
index 24d4fa0..563d28f 100644 (file)
@@ -55,7 +55,6 @@ $code['conf'] = array_filter(array(
 
     // Other variables
     'app_urls' => $app_urls,
-    'background_inbox' => intval(!empty($GLOBALS['conf']['dimp']['viewport']['background_inbox'])),
     'buffer_pages' => intval($GLOBALS['conf']['dimp']['viewport']['buffer_pages']),
     'debug' => intval(!empty($GLOBALS['conf']['dimp']['js']['debug'])),
     'disable_compose' => !IMP::canCompose(),