Make scrollOnFocus default to false for dojo-based/conify interfaces
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 28 Sep 2012 19:26:06 +0000 (15:26 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 3 Oct 2012 19:41:26 +0000 (15:41 -0400)
commita294ec1c9ad85551bf980e2bfb6e7a4319fefb25
treee4a129b63833d6d75ae5e3dcc33adec36385bfbd
parent599ae0017856305b23e8e9c5efaea01aa90d6150
Make scrollOnFocus default to false for dojo-based/conify interfaces

This change is intended to prevent a phenomenon in certain user
interfaces wherein clicking on a button or other widget can cause a
user's screen to suddenly jump and the user to need to click the widget
a second time before the desired function actually happens.

Dijits that have the scrollOnFocus property are the ones that tend to
exhibit this issue, especially, but not always, within the staff client
when the user's xulrunner window is not maximized.

There may be cases of interfaces actually relying on scrollOnFocus to do
something, but I think those cases should be so rare that this is still
worth doing, and exceptions can be applied there as needed.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/web/js/ui/base.js