[dev] Can't select email subjects in dynamic view

Michael M Slusarz slusarz at horde.org
Tue Nov 27 05:08:31 UTC 2012


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Anyone know why I can't select (for copy/paste) email subject lines  
> in the IMP dynamic view?

Yes - to prevent drag-selecting of UI elements.  It is disabled for  
everything but text inputs (see javascript code at the very bottom of  
imp/js/dimpcore.js) and the message preview.  It's not perfect since  
it will cause click-drags that start in an allowed element to  
propogate beyond the element.  But there's really not an easy way to  
prevent this (CSS solutions are not possible at this time).

I would not be opposed to adding a horde-wide class (or at least an  
IMP class) that delineated an HTML element allowed to initiate a  
click-drag.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list