ExtDraggableObject/src/ExtDraggableObject.js
function mouseUp_(ev) {
    var e=ev||event;
    if (moving_) {
      setCursor_(false);
      event_.removeListener(mouseMoveEvent_);
      if (src.releaseCapture) {
        src.releaseCapture();
      }
      moving_ = false;
      event_.trigger(me, "dragend", {mouseX: formerMouseX_, mouseY: formerMouseY_, startLeft: originalX_, startTop: originalY_, event:e});
    }
    currentX_ = currentY_ = null;
    event_.trigger(me, "mouseup", e);
  }
function mouseUp_(ev) {
    var e=ev||event;
    if (moving_) {
      setCursor_(false);
      event_.removeListener(mouseMoveEvent_);
      if (src.releaseCapture) {
        src.releaseCapture();
      }
      moving_ = false;
      event_.trigger(me, "dragend", {mouseX: formerMouseX_, mouseY: formerMouseY_, startLeft: originalX_, startTop: originalY_, event:e});
    }
    currentX_ = currentY_ = null;
    event_.trigger(me, "mouseup", e);
  }
function mouseUp_ ( ev ) { var e = ev || event ; if ( moving_ ) { setCursor_ ( false ) ; event_ . removeListener ( mouseMoveEvent_ ) ; if ( src . releaseCapture ) { src . releaseCapture ( ) ; } moving_ = false ; event_ . trigger ( me , "dragend" , { mouseX : formerMouseX_ , mouseY : formerMouseY_ , startLeft : originalX_ , startTop : originalY_ , event : e } ) ; } currentX_ = currentY_ = null ; event_ . trigger ( me , "mouseup" , e ) ; }
Handles the mouseup event.
@param {event} ev The event data sent by the browser.
@private
Handles the mouseup event .