Fix some javascript errors in rare situations (#1490441)
| | |
| | | - Fix so imap folder attribute comparisons are case-insensitive (#1490466) |
| | | - Fix bug where new messages weren't added to the list in search mode |
| | | - Fix wrong positioning of message list header on page scroll in Webkit browsers (#1490035) |
| | | - Fix some javascript errors in rare situations (#1490441) |
| | | |
| | | RELEASE 1.1.2 |
| | | ------------- |
| | |
| | | // get the IMP mailbox of the message with the given UID |
| | | this.get_message_mailbox = function(uid) |
| | | { |
| | | var msg = this.env.messages ? this.env.messages[uid] : {}; |
| | | var msg = (this.env.messages && uid ? this.env.messages[uid] : null) || {}; |
| | | return msg.mbox || this.env.mailbox; |
| | | }; |
| | | |
| | |
| | | */ |
| | | click_row: function(e, id) |
| | | { |
| | | // sanity check |
| | | if (!id || !this.rows[id]) |
| | | return false; |
| | | |
| | | // don't do anything (another action processed before) |
| | | if (!this.is_event_target(e)) |
| | | return true; |