alecpl
2010-11-15 2c200021fdf9b5d1c73e39e7c46e7db1e4152e91
- Fix focused elements aren't unfocused when clicking on the list (#1487123)


2 files modified
5 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/js/list.js 4 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -70,6 +70,7 @@
- Fix handling of folders with "<>" characters in name
- jQuery 1.4.4
- Fix handling of HTML entity strings in plain text messages
- Fix focused elements aren't unfocused when clicking on the list (#1487123)
RELEASE 0.4.2
-------------
program/js/list.js
@@ -214,6 +214,7 @@
{
  var id;
  this.focused = true;
  for (var n in this.selection) {
    id = this.selection[n];
    if (this.rows[id] && this.rows[id].obj) {
@@ -221,6 +222,9 @@
    }
  }
  // Un-focus already focused elements
  $('*:focus').blur();
  if (e || (e = window.event))
    rcube_event.cancel(e);
},