     # Keep track the grid id the mouse is over
     currentGridTd = null
 
+    # Position cell editor controls on the right cell on the mouse over
     Event.addListener document, "mouseover", (event) ->
         target = Event.getTarget event
         gridTd =

            # We're outside of a grid td: hide cell editor controls
            _.each cellEditorChildren, (child) -> child.style.display = "none"
            currentGridTd = null

Event = YAHOO.util.Event
YD = YAHOO.util.Dom
AjaxServer = ORBEON.xforms.server.AjaxServer
Controls = ORBEON.xforms.Controls

currentGridTd = null

