Modify ↓
Ticket #6957 (closed bug: invalid)
clone bug in demos\sortable\portlets.html
| Reported by: | hikebrant | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | core | Version: | 1.4.2 |
| Keywords: | Stack overflow | Cc: | |
| Blocking: | Blocked by: |
Description
first:
drag one element(.portlet)
second:
execute code: $(".portlet:first").clone(true);
now:bug appeared.it throw an "Stack overflow" exception.
source code:
| jQuery.isArray(copy) ) ) { |
var clone = src && ( jQuery.isPlainObject(src) jQuery.isArray(src) ) ? src : jQuery.isArray(copy) ? [] : {};
Never move original objects, clone them target[ name ] = jQuery.extend( deep, clone, copy );bug appeared here!
Don't bring in undefined values }
Change History
comment:2 Changed 3 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
This should be filed at the jQuery UI bug tracker: http://dev.jqueryui.com
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

version is jquery-1.4.2