When clicking on "Sent" or "Drafts", the "Sender" column should change to "Recipient" (and visa versa when clicking an incoming folder, such as "Inbox" or "Trash").

It's actually working, except for the JavaScript errors which need to be resolved by properly overwriting the "colgroup" and "thead" nodes for the "messagelist" table.

Rich

On Jul 7, 2006, at 2:47 PM, Charles McNulty wrote:

I'd like to help, but I need a little bigger picture than that. What's
supposed to be happening, and what is actually happening.  In other
words, precise steps to reproduce what you're seeing. I'm not sure what
you mean by "to-from" column switching.

-Charles

[EMAIL PROTECTED] wrote:
OK, I hadn't finished that yet so it's very broken, but strangely, the to-from column switching only works when it is broken. When "colgroup"
and "thead" are properly cleared and recreated, they're not rebuilt.

The "rcmail_message_list" function in "steps/mail/func.inc" has always
returned the entire table, but only the tbody (with the message rows)
gets updated?

Richs



On Jul 6, 2006, at 1:13 PM, Charles McNulty wrote:

I don't think it's a cache issue. I'm experiencing it too. Rich, can
you explain a little what the code is in clear_message_list_header
function?  It looks weird to me.

     1580      this.clear_message_list_header = function()
     1581        {
     1582        var table = this.gui_objects.messagelist;
     1583
     1584        var colgroup = document.createElement('COLGROUP');
     1585        table.removeChild(table.colgroup);
     1586        table.insertBefore(colgroup, table.thead);
     1587
     1588        var thead = document.createElement('THEAD');
     1589        table.removeChild(table.thead);
     1590        table.insertBefore(thead, table.tBodies[0]);
     1591        };

First it creates an element, then it attempts to remove table.colgroup, which I don't think exists, then it does an insertBefore? Perhaps some of that is debugging code? Even if it were working, what is the intent
of this code?  Does it relate to this note: 'Added ability to sort
messages by "Size"'?

-Charles

[EMAIL PROTECTED] wrote:
On Jul 1, 2006, at 3:02 PM, Martin Marques wrote:


On Sat, 1 Jul 2006 18:40:01 -0300, Martin Marques
<martin@bugs.unl.edu.ar> wrote:

I'm having trouble with the last SVN update. Basically new messages
don't
get in the div frame as I eliminate others, and sometimes the frame
gets
totally empty.

I also got a wholñe bunch of JS errors on the firefox javascript
console:

Error: this.list_rows[id] has no properties
Source File: https://bugs.unl.edu.ar/mail/program/js/app.js
Line: 268


Error: uncaught exception: [Exception... "Component returned failure
code:
0x80004003 (NS_ERROR_INVALID_POINTER)
[nsIDOMHTMLTableElement.removeChild]"
 nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS
frame ::
https://bugs.unl.edu.ar/mail/program/js/app.js :: anonymous :: line
1587"
data: no]

Just found this one too:

Error: this.set_message_coltypes is not a function
Source File: https://bugs.unl.edu.ar/mail/program/js/app.js
Line: 3303

Try flushing your cache? You may have an app.js cached from an older
SVN version,

Rich

















Reply via email to