Aleksander Machniak
2015-07-31 3d0747957ea8ad1d416aca4c175b0f523d1c5a08
Fix some javascript errors in rare situations (#1490441)
3 files modified
7 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/js/app.js 2 ●●● patch | view | raw | blame | history
program/js/list.js 4 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -32,6 +32,7 @@
- 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
-------------
program/js/app.js
@@ -8128,7 +8128,7 @@
  // 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;
  };
program/js/list.js
@@ -565,6 +565,10 @@
 */
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;