src/hg/js/hgGateway.js 1.2
1.2 2010/02/24 22:10:04 larrym
turn on autowidth so strings don't get squashed in pulldown
Index: src/hg/js/hgGateway.js
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/js/hgGateway.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/hg/js/hgGateway.js 6 Feb 2010 01:19:17 -0000 1.1
+++ src/hg/js/hgGateway.js 24 Feb 2010 22:10:04 -0000 1.2
@@ -1,12 +1,13 @@
$(document).ready(function()
{
$('input#suggest').autocomplete({
delay: 500,
minchars: 1,
+ autowidth: true,
ajax_get: ajaxGet(function () {return document.orgForm.db.value;}, new Object),
callback: function (obj) {
document.mainForm.position.value = obj.id;
}
});
});