From: phasefx Date: Fri, 18 Jun 2010 17:57:21 +0000 (+0000) Subject: stop the autoscrolling behavior with AutoFieldWidget X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=50da21bcb641097d83f6ed251f2fe9aafcdde4b0;p=evergreen%2Fbjwebb.git stop the autoscrolling behavior with AutoFieldWidget git-svn-id: svn://svn.open-ils.org/ILS/trunk@16763 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js index 1d60d719c..a5b263d7b 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;