Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#479 closed enhancement (fixed)

idrag.js highlighting prevention

Reported by: [email protected] Owned by: stefan
Priority: minor Milestone:
Component: interface Version:
Keywords: drag, drop, highlight Cc:
Blocked by: Blocking:


I think that Interface's idrag.js build function (specifically, somewhere around line 490) should prevent highlighting. It's only really a problem in IE, where the fix is easy:

this.onselectstart = function() {return false;}

I've tested this on my local machine, and it works great in IE6. Doesn't throw an error or anything in Firefox, either.

Karl O'Keeffe supplied the equivalent for other browsers on Todd Ditchendorff's DnD selection entry (http://www.ditchnet.org/wp/2005/06/15/ajax-freakshow-drag-n-drop-events-2/). While I don't think it's necessary, you could also apply the following CSS to the draggable:

-moz-user-select: none; -khtml-user-select: none; user-select: none;

Change History (2)

comment:1 Changed 16 years ago by [email protected]

:-( I'm not sure what I could have done to be more helpful. Does the Interface maintainer not check here?

comment:2 Changed 16 years ago by stefan

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.