summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/list.js
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-28 19:43:54 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-28 19:43:54 +0000
commita8f6e31ea022b805f55f0c0ab255e69080960a1d (patch)
tree3599fc99ebd8e113d81efa6faa5bcb58c52327e5 /roundcubemail/program/js/list.js
parent13e6ce8c76d65a3ce36b688ae22311c336d02455 (diff)
Fix quirky message selection
git-svn-id: https://svn.roundcube.net/trunk@1148 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/list.js')
-rw-r--r--roundcubemail/program/js/list.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js
index b9750fa47..e42d3f6b7 100644
--- a/roundcubemail/program/js/list.js
+++ b/roundcubemail/program/js/list.js
@@ -207,13 +207,13 @@ blur: function()
*/
drag_row: function(e, id)
{
- this.in_selection_before = this.in_selection(id) ? id : false;
-
// don't do anything (another action processed before)
var evtarget = rcube_event.get_target(e);
if (this.dont_select || (evtarget && (evtarget.tagName == 'INPUT' || evtarget.tagName == 'IMG')))
return false;
+ this.in_selection_before = this.in_selection(id) ? id : false;
+
// selects currently unselected row
if (!this.in_selection_before)
{