Pflichtenhefttextblöcke: Drag&Drop "before first" fixed
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 11 Mar 2013 16:09:16 +0000 (17:09 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:02:26 +0000 (13:02 +0200)
SL/Controller/RequirementSpecTextBlock.pm

index ca62021..7d339a8 100644 (file)
@@ -226,7 +226,7 @@ sub action_dragged_and_dropped {
       if ($prior_text_block) {
         $js->insertAfter($html, '#text-block-' . $prior_text_block->id);
       } else {
-        $js->appendTo($html, '#text-block-list');
+        $js->prependTo($html, '#text-block-list');
       }
     }
   }