Skip to main content

Bug Tracker

Side navigation

#479 closed enhancement (fixed)

Opened December 08, 2006 09:14PM UTC

Closed January 02, 2007 07:08AM UTC

Last modified June 19, 2007 08:13AM UTC

idrag.js highlighting prevention

Reported by: bluej100@gmail.com Owned by: stefan
Priority: minor Milestone:
Component: interface Version:
Keywords: drag, drop, highlight Cc:
Blocked by: Blocking:
Description

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;

Attachments (0)
Change History (2)

Changed December 13, 2006 10:34PM UTC by bluej100@gma comment:1

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

Changed January 02, 2007 07:08AM UTC by stefan comment:2

resolution: → fixed
status: newclosed