Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Issue 12208141: Attach menu dismiss handler to <body>, not <html>. (Closed)

Created:
7 years, 10 months ago by Jamie
Modified:
7 years, 10 months ago
Reviewers:
Sergey Ulanov, garykac
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Attach menu dismiss handler to <body>, not <html>. document.all is not available to Apps v2, so menus were previously not dismissable. I could use document.body.parentNode, but I can't think of any good reason to attach the event handler to <html> instead of <body>. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182046

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M remoting/webapp/menu_button.js View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Jamie
ptal
7 years, 10 months ago (2013-02-12 22:50:54 UTC) #1
Sergey Ulanov
7 years, 10 months ago (2013-02-12 22:54:26 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698