jenkinsci/jenkins — pull request #1038 by ChrisA89 (2013-12-02 10:36:58+00:00)
Title: [JENKINS-17050] Close pop-up menu when clicking outside.

The _activationButtonPressed get's set to false when _onMouseUp is called, so can not be used to decide if the menu is active or not.