diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-08-12 11:12:33 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-08-12 11:12:33 +0000 |
| commit | 48bb8612142339895592c205f04efc5c364d5744 (patch) | |
| tree | efd98156ddd3d83850c7fa2d80f68e55d32218f7 /roundcubemail/program/js | |
| parent | 4c0a024f6a3570e44dd5acf4107be4b5a6c6366f (diff) | |
Tweak settings page: align with tab list, remove that single advanced option for now, select 'general' section at startup
git-svn-id: https://svn.roundcube.net/trunk@2855 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index e7c528962..4ad62b46e 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -326,11 +326,11 @@ function rcube_webmail() if (this.env.action=='identities') { this.enable_command('add', this.env.identities_level < 2); - } - else if (this.env.action=='edit-identity' || this.env.action=='add-identity') { + } + else if (this.env.action=='edit-identity' || this.env.action=='add-identity') { this.enable_command('add', this.env.identities_level < 2); this.enable_command('save', 'delete', 'edit', true); - } + } else if (this.env.action=='folders') this.enable_command('subscribe', 'unsubscribe', 'create-folder', 'rename-folder', 'delete-folder', true); @@ -350,7 +350,8 @@ function rcube_webmail() this.sections_list.addEventListener('select', function(o){ p.section_select(o); }); this.sections_list.init(); this.sections_list.focus(); - } + this.sections_list.select('general'); // open first section by default + } else if (this.gui_objects.subscriptionlist) this.init_subscription_list(); @@ -2948,7 +2949,7 @@ function rcube_webmail() // preferences section select and load options frame this.section_select = function(list) { - var id = list.get_single_selection() + var id = list.get_single_selection(); if (id) { var add_url = ''; |
