diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 18:40:48 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 18:40:48 +0000 |
commit | ac4cac20044f97f9f4d2b8801be120c40d0d3f0d (patch) | |
tree | 614aed8d2b6e530f39043792d8cd67a26d9c6cd1 /remoting/webapp/remoting.js | |
parent | b6adedd93b1a72252cd84fd824f354130c4b694e (diff) | |
download | chromium_src-ac4cac20044f97f9f4d2b8801be120c40d0d3f0d.zip chromium_src-ac4cac20044f97f9f4d2b8801be120c40d0d3f0d.tar.gz chromium_src-ac4cac20044f97f9f4d2b8801be120c40d0d3f0d.tar.bz2 |
Constrain keyboard navigation while a modal dialog is active.
BUG=126200
TEST=Open and close various modal dialogs (IT2Me client and host, Me2Me host config) and make sure that the control tab ordering is what you would expect.
Review URL: https://chromiumcodereview.appspot.com/10384097
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/remoting.js')
-rw-r--r-- | remoting/webapp/remoting.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js index 62d1618..21649fb 100644 --- a/remoting/webapp/remoting.js +++ b/remoting/webapp/remoting.js @@ -59,6 +59,8 @@ remoting.init = function() { window.addEventListener('paste', pluginGotPaste_, false); window.addEventListener('copy', pluginGotCopy_, false); + remoting.initModalDialogs(); + if (isHostModeSupported_()) { var noShare = document.getElementById('chrome-os-no-share'); noShare.parentNode.removeChild(noShare); @@ -293,4 +295,4 @@ function jsonParseSafe(jsonString) { } catch (err) { return undefined; } -}
\ No newline at end of file +} |