From 50da21bcb641097d83f6ed251f2fe9aafcdde4b0 Mon Sep 17 00:00:00 2001
From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Fri, 18 Jun 2010 17:57:21 +0000
Subject: [PATCH] stop the autoscrolling behavior with AutoFieldWidget

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16763 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
index 1d60d719c3..a5b263d7ba 100644
--- a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
+++ b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
@@ -49,6 +49,11 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) {
             for(var k in args)
                 this[k] = args[k];
 
+            if (!this.dijitArgs) {
+                this.dijitArgs = {};
+            }
+            this.dijitArgs['scrollOnFocus'] = false;
+
             // find the field description in the IDL if not provided
             if(this.fmObject) 
                 this.fmClass = this.fmObject.classname;
-- 
2.11.0