[Pkg-javascript-devel] Bug#637229: WP widgets X jquery-ui (draggable)

Marcelo Jorge Vieira metal at debian.org
Fri Sep 2 13:58:33 UTC 2011


Hi!

Now, I found the bug. In wp-admin/js/widgets.js, line 113:

var add = ui.item.find('input.add_new').val(),
    n = ui.item.find('input.multi_number').val(),
    id = ui.item.attr('id'),
    sb = $(this).attr('id');

'id' is undefined, because it was removed from ui.item [0][1].

[0] http://bugs.jqueryui.com/ticket/4564
[1] https://github.com/jquery/jquery-ui/commit/98fcb477d6a7091b21e9b7bc0b8c28f798954d47#ui/jquery.ui.draggable.js

-- 
Marcelo Jorge Vieira
xmpp:metal at jabber-br.org
http://metaldot.alucinados.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20110902/53950da5/attachment.pgp>


More information about the Pkg-javascript-devel mailing list