Opened 2 years ago

Closed 2 years ago

#1487751 closed Bugs (fixed)

Unable to add/remove columns in message list

Reported by: gardiol Owned by:
Priority: 1 - Highest Milestone: 0.5.1
Component: Client Scripts Version: 0.5
Severity: critical Keywords: message list clumns missing
Cc: willy@…

Description

Using the popup-menu to add/remove colums does not work. Checking with firefox error console i see:

"this.env.sort_order is null" error at line 67 of app.js.

I fiex it with the following code change in that file:

this.set_list_sorting=function(a,b){
+if (this.env.sort_col ){ $("#rcm"+this.env.sort_col).removeClass("sorted"+this.env.sort_order.toUpperCase());

a&&$("#rcm"+a).addClass("sorted"+b);
this.env.sort_col=a;
this.env.sort_order=b

+}
};

Simply adding an if.

Change History (5)

comment:1 Changed 2 years ago by alec

Works for me. Are you using any plugins? Show your config (message_sort_col, message_sort_order).

comment:2 Changed 2 years ago by gardiol

I was updating from 0.4... and i had disabled all plugins.

Where do i find those settings? I do not have those in my main.db.conf...

comment:3 Changed 2 years ago by alec

config/main.inc.php

comment:4 Changed 2 years ago by gardiol

$rcmail_configdebug_level? = 5;

$rcmail_configlog_driver? = 'file';

$rcmail_configlog_date_format? = 'd-M-Y H:i:s O';

$rcmail_configsyslog_id? = 'roundcube';

$rcmail_configsyslog_facility? = LOG_USER;

$rcmail_configsmtp_log? = true;

$rcmail_configlog_logins? = false;

$rcmail_configsql_debug? = false;

$rcmail_configimap_debug? = false;

$rcmail_configldap_debug? = false;

$rcmail_configsmtp_debug? = false;

$rcmail_configdefault_host? = 'gardiol.org';

$rcmail_configdefault_port? = 143;

$rcmail_configimap_auth_type? = null;

$rcmail_configimap_delimiter? = null;

$rcmail_configimap_ns_personal? = null;

$rcmail_configimap_ns_other? = null;

$rcmail_configimap_ns_shared? = null;

$rcmail_configimap_force_caps? = false;

$rcmail_configimap_force_lsub? = false;

$rcmail_configimap_timeout? = 0;

$rcmail_configimap_auth_cid? = null;

$rcmail_configimap_auth_pw? = null;

$rcmail_configsmtp_server? = ;

$rcmail_configsmtp_port? = 25;

$rcmail_configsmtp_user? = ;

$rcmail_configsmtp_pass? = ;

$rcmail_configsmtp_auth_type? = ;

$rcmail_configsmtp_auth_cid? = null;

$rcmail_configsmtp_auth_pw? = null;

$rcmail_configsmtp_helo_host? = ;

$rcmail_configsmtp_timeout? = 0;

$rcmail_configenable_installer? = false;

$rcmail_configlog_dir? = 'logs/';

$rcmail_configtemp_dir? = 'temp/';

$rcmail_configenable_caching? = false;

$rcmail_configmessage_cache_lifetime? = '10d';

$rcmail_configforce_https? = false;

$rcmail_configuse_https? = false;

$rcmail_configlogin_autocomplete? = 1;

$rcmail_configlogin_lc? = false;

$rcmail_configauto_create_user? = true;

$rcmail_configskin_include_php? = false;

$rcmail_configsession_lifetime? = 10;

$rcmail_configip_check? = false;

$rcmail_configdouble_auth? = false;

$rcmail_configdes_key? = 'hidden';

$rcmail_configplugins? = array(

'jqueryui',
'contextmenu',
'emoticons',
'help',
'automatic_addressbook',
'zipdownload',
'password',
'markasjunk2',
'compose_addressbook',
'userinfo');

This is my current main.inc.php... i am now using some plugins.

Last edited 2 years ago by gardiol (previous) (diff)

comment:5 Changed 2 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [ae3d6065].

Note: See TracTickets for help on using tickets.