Files.app: Update availability of OK button by using input events.
commit1b5f049175f2cd7d41254a1175c03e76460db449
authorhirono@chromium.org <hirono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 6 Dec 2013 14:27:06 +0000 (6 14:27 +0000)
committerhirono@chromium.org <hirono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 6 Dec 2013 14:27:06 +0000 (6 14:27 +0000)
tree60ccd898b7a96985304ebed7b78af06b83594c9c
parent5ba57b0ce373a5d3e1bf2f20f187bd3c9db94b88
Files.app: Update availability of OK button by using input events.

Previously the availability is updated by handling keydown events.  But when the
events are published, the input value has not updated yet.  This CL turns the
events handled to update the availability into input events.

BUG=326094
TEST=Open save file dialog, input and delete text in the filename input.

Review URL: https://codereview.chromium.org/108013003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239212 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/resources/file_manager/foreground/js/file_manager.js