jenkinsci/jenkins — pull request #1044 by ChrisA89 (2013-12-06 09:18:37+00:00)
Title: [JENKINS-17050] Close pop-up menu when clicking outside.

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

Rebased, and squashed, as the previous pull request (https://github.com/jenkinsci/jenkins/pull/1038) was erroneously marked as merged.