summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/list.js b/program/js/list.js
index b9750fa47..e42d3f6b7 100644
--- a/program/js/list.js
+++ b/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)
{