Permalink
Browse files

Same ordering in DOM (after the drop element)

  • Loading branch information...
1 parent ad54a92 commit 20c8cd20af8f10508702fa31de3e096ab5086cd6 @pneff committed Dec 10, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 scrumboard/public/static/stories/list.js
View
2 scrumboard/public/static/stories/list.js
@@ -167,7 +167,7 @@
url, {
success: function(o) {
source.parentNode.removeChild(source);
- target.parentNode.insertBefore(source, target);
+ target.parentNode.insertBefore(source, target.nextSibling);
},
failure: function() {
alert("Could not move record.");

0 comments on commit 20c8cd2

Please sign in to comment.