Fix #1790. Disabled input still clickable in IE11.

This PR Takes some code from `ReactDOMButton` in order to solve the same problem and brings it over to `ReactDOMInput`.

I'll admit to complete duplication here with how this was solved in `ReactDOMButton`. Where would the best place be to put the black list of mouse events for when an input/button is disabled?

Fix #1790 

Ah, excellent. Perhaps it should be explained in a comment then.


Sent from iPhone

On 13 jul 2014, at 14:46, "Nathan Hunzaker" <notifications@github.com<mailto:notifications@github.com>> wrote:


In src/browser/ui/dom/components/ReactDOMInput.js:

>
>  // Store a reference to the <input> `ReactDOMComponent`.
>  var input = ReactDOM.input;
>
> +var mouseListenerNames = keyMirror({
> +  onClick: true,


Pure joy...

[screen shot 2014-07-13 at 8 43 50 am]<https://cloud.githubusercontent.com/assets/590904/3564529/647dabd8-0a8b-11e4-869e-1e75eddb11df.png>

—
Reply to this email directly or view it on GitHub<https://github.com/facebook/react/pull/1820/files#r14858292>.