Skip to main content

Search and Top Navigation

#3106 closed bug (invalid)

Opened July 17, 2008 02:13AM UTC

Closed November 08, 2012 08:53AM UTC

Sortable: serialize throws error if sortable contains tabs.

Reported by: kape Owned by: kape
Priority: major Milestone: 2.0.0
Component: ui.sortable Version: 1.5.1
Keywords: sortable serialize tabs Cc:
Blocked by: Blocking:
Description

I have a bunch of sortable widgets and for any that contain tabs I get the following error when I call sortable.('serialize'):

widgets_sortableUpdate is the function I call on update.

$[namespace][plugin] is undefined

getter()ui.core.js (line 76)

(?)()()ui.core.js (line 90)

widgets_sortableUpdate(Object originalEvent=Event mouseup which=1 view=window, Object helper=Object placeholder=Object position=Object)widgets.js (line 139)

trigger()("sortupdate", [Object originalEvent=Event mouseup which=1 view=window, Object helper=Object placeholder=Object position=Object], td.column25, false, widgets_sortableUpdate(e, ui))jquery.js (line 2030)

triggerHandler()("sortupdate", [Object originalEvent=Event mouseup which=1 view=window, Object helper=Object placeholder=Object position=Object], widgets_sortableUpdate(e, ui))jquery.js (line 2255)

propagate()("update", Object originalEvent=Event mouseup which=1 view=window, null, undefined)ui.sortable.js (line 63)

clear()(Object originalEvent=Event mouseup which=1 view=window, undefined)ui.sortable.js (line 591)

mouseStop()(Object originalEvent=Event mouseup which=1 view=window, undefined)ui.sortable.js (line 583)

mouseUp()(Object originalEvent=Event mouseup which=1 view=window)ui.core.js (line 260)

_mouseUpDelegate()()ui.core.js (line 224)

handle()(Object originalEvent=Event mouseup which=1 view=window)jquery.js (line 2076)

(?)()()jquery.js (line 1858)

[Break on this error] var methods = $[namespace][plugin].getter || [];

Attachments (0)
Change History (7)

Changed August 16, 2008 08:06PM UTC by Cloudream comment:1

milestone: → TDB
priority: minormajor

Changed January 02, 2009 02:16PM UTC by scottgonzalez comment:2

milestone: TBD1.6

Changed March 08, 2009 02:30PM UTC by rdworth comment:3

milestone: 1.71.8

Changed July 14, 2011 05:03PM UTC by petersendidit comment:4

_comment0: Doesn't throw an error, and doesn't show anything if you do the following: \ \ jQuery( "#listTabs" ).tabs(); // containing DIV \ jQuery("#listTabsSortable").sortable({ //UL tag \ update: function(event, info) { \ var str = jQuery(this).sortable('serialize'); \ alert(str); \ } \ }); \ \ The alert is blank, no result, with 6 LI tags containing unique ID attributes.1351113293348536

Doesn't throw an error, and doesn't show anything if you do the following:

jQuery( "#listTabs" ).tabs(); // containing DIV
jQuery("#listTabsSortable").sortable({  //UL tag
  update: function(event, info) {
    var str = jQuery(this).sortable('serialize');
    alert(str);
  }
});

The alert is blank, no result, with 6 LI tags containing unique ID attributes.

Changed October 11, 2012 02:54PM UTC by scottgonzalez comment:5

milestone: 1.9.02.0.0

Changed October 25, 2012 12:28AM UTC by petersendidit comment:6

owner: paulkape
status: newpending
summary: sortable.('serialize') throws error if sortable contains tabs.Sortable: serialize throws error if sortable contains tabs.

Thanks for taking the time to contribute to the jQuery UI project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the git version of both jQuery UI and jQuery to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/ZgAqH/Open the link and click to "Fork" (in the top menu) to get started.

Changed November 08, 2012 08:53AM UTC by trac-o-bot comment:7

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!