Last modified: 2012-08-05 16:19:05 UTC
On function "submitDragDrop", there is a line[1] like this ---- if ( params.subject.length == 0 ) { ---- but when I follow the steps to drag a comment to a new location[2] (on a page such as [3]), it causes this error: ---- Uncaught TypeError: Cannot read property 'length' of undefined lqt.js:1553 window.liquidThreads.submitDragDrop lqt.js:1553 buttons.(anonymous function) lqt.js:1420 (anonymous function) jquery.ui.dialog.js:392 jQuery.event.dispatch load.php:3332 jQuery.event.add.elemData.handle.eventHandle load.php:2941 XHR finished loading: "https://www.mediawiki.org/w/api.php?action=query&list=threads&thid=13985&format=json&thprop=id%7Csubject%7Cparent%7Cmodified". ---- I was using Google Chrome 19.0.1084.46 when I tested. BTW: instead of "length == 0" it should be "length === 0". [1] Last touched by Thomas: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/LiquidThreads.git;a=blobdiff;f=lqt.js;h=27127208707f44cdb586b855721f872afeb3bfb2;hp=fc516a01ba37f1cc9690ea04027a89e9cde4370b;hb=dd6f8fcd258a47f863d2a8c5930eae3a3b1ded70;hpb=3d62392a67b0499a67c6db226081206016288fad [3] https://www.mediawiki.org/wiki/Thread:Talk:Berlin_Hackathon_2012/Ops_sprint?debug=1
(In reply to comment #0) > ... the steps to drag a comment to a new location[2] [2] See bug 37086 comment 0
This exception has been breaking "Drag to new location" since late 2011.
*** This bug has been marked as a duplicate of bug 31809 ***