adobe/brackets — pull request #1319 by tvoliter (2012-07-31 19:22:43+00:00)
Title: Prevent document changes when clicking close button in working set

The dot "." for a class specifier was missing in _handleDirtyFlagChanged(). This caused the close icon to not work when clicking it when the document was loaded in the working set from application launch. When first selecting the document on mousedown, the close button would be set incorrectly so that the click event on the file status icon would never occur.
fix #1315

mouseDown needed to stop propagation when clicking on the close icon to prevent document selection prior to closing document
fix #1253