[open-ils-commits] r16763 - trunk/Open-ILS/web/js/dojo/openils/widget (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jun 18 13:57:25 EDT 2010


Author: phasefx
Date: 2010-06-18 13:57:21 -0400 (Fri, 18 Jun 2010)
New Revision: 16763

Modified:
   trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
stop the autoscrolling behavior with AutoFieldWidget

Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js	2010-06-18 17:13:30 UTC (rev 16762)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js	2010-06-18 17:57:21 UTC (rev 16763)
@@ -49,6 +49,11 @@
             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;



More information about the open-ils-commits mailing list