stop the autoscrolling behavior with AutoFieldWidget
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Jun 2010 17:57:21 +0000 (17:57 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Jun 2010 17:57:21 +0000 (17:57 +0000)
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

index 1d60d71..a5b263d 100644 (file)
@@ -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;