collective/collective.z3cform.datagridfield — pull request #1 by m-martinez (2012-02-11 01:50:28+00:00)
Title: Fixed issue with "up" button on the last row.

Greetings!

I was happily using your plugin when I noticed that clicking on the up arrow for the last row was sending said row to the top instead moving it up one. I tracked the problem to the ``datagridfield.js`` file where the ``direction`` variable was accidentally (?) being set rather than being checked against the ``"down"`` value. The other issue was that arguments to ``shiftRow`` where in the incorrect order and so I switched them to match the similar code block on line ``180``.