Prevent BlobItemContainer from receiving focus.

This seems to fix https://code.google.com/p/camlistore/issues/detail?id=183.
I could not find the code that is actually causing scrolling to occur ... I am
guessing something in Closure somewhere.

However, I also couldn't think of any reason for this component to be
focusable, and this doesn't seem to break anything that I can see.

Change-Id: Iaf64555ee175c774a218bb32d9bb4f97f46cc636
This commit is contained in:
Aaron Boodman 2013-07-28 17:10:38 -07:00
parent c0c9f365b9
commit 02e0d5fc33
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ camlistore.BlobItemContainer = function(connection, opt_domHelper) {
* @private
*/
this.eh_ = new goog.events.EventHandler(this);
this.setFocusable(false);
};
goog.inherits(camlistore.BlobItemContainer, goog.ui.Container);