Metadata
- Source
- FLUID-2277
- Type
- Bug
- Priority
- Critical
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Justin Obara
- Reporter
- Justin Obara
- Created
2009-02-20T10:06:09.000-0500 - Updated
2009-08-04T08:46:23.000-0400 - Versions
-
- 0.8
- 1.0
- 1.1
- Fixed Versions
-
- 0.8.1
- 1.1.1
- 1.2
- Component
-
- Inline Edit
- Layout Reorderer
Description
Can't select text
Steps to reproduce:
1) Open the uPortal mock-up from the daily build site
http://build.fluidproject.org/fluid/sample-code/shared/portal/portal.html
2) Using the mouse, attempt to select some text from any of the portlets
Notice that you are unable to select the text.
Environments
IE6, IE7, IE8 (Win XP)
IE7, IE8 (Win Vista)
IE6 (Win 2000)
Comments
-
Justin Obara commented
2009-07-16T16:26:40.000-0400 Updated. Initially the report only mentioned the lack of text selection in the Inline Edit field; however, this actually occurs for all text in the portlets.
-
Justin Obara commented
2009-07-16T16:52:54.000-0400 Below is a code snippet from reorderer.js It seems that we were intentionally preventing text selection in IE. I have removed this code and it doesn't appear that FLUID-143 has come back. This is likely due to the rewrite of the reorderer that occurred after this bug was initially filed.
// FLUID-143. Disable text selection for the reorderer.
// ondrag() and onselectstart() are Internet Explorer specific functions.
// Override them so that drag+drop actions don't also select text in IE.
if ($.browser.msie) {
container[0].ondrag = function () {
return false;
};
container[0].onselectstart = function () {
return false;
};
} -
Justin Obara commented
2009-07-27T17:20:00.000-0400 Bug Parade 1.1.1 release
-
Justin Obara commented
2009-07-28T10:35:41.000-0400 This has now been back ported into the 1.1.x branch
-
Michelle D'Souza commented
2009-07-31T14:46:48.000-0400 I've code reviewed and tested the fix.
-
Justin Obara commented
2009-08-04T08:46:23.000-0400 Closed as it has been code reviewed and tested by michelle