X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_form_ComboBox.js.html;fp=docs%2Fsrc%2FRoo_form_ComboBox.js.html;h=0d2ee18a5188f6e7a43cc33893a37ea5a2327d5e;hp=ed509176bdb2ed7b5d4b99da9095d247ad707890;hb=9c024aa0d7e78ad1630dca48384ef6586cd374d4;hpb=d25b2a59660233bd4af2b7c68dcdb508dd3b7727 diff --git a/docs/src/Roo_form_ComboBox.js.html b/docs/src/Roo_form_ComboBox.js.html index ed509176bd..0d2ee18a51 100644 --- a/docs/src/Roo_form_ComboBox.js.html +++ b/docs/src/Roo_form_ComboBox.js.html @@ -1,4 +1,4 @@ -
/*
+Roo/form/ComboBox.js /*
* Based on:
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
@@ -304,9 +304,11 @@
// element that contains real text value.. (when hidden is used..)
// private
- onRender : function(ct, position){
+ onRender : function(ct, position)
+ {
Roo.form.ComboBox.superclass.onRender.call(this, ct, position);
- if(this.hiddenName){
+
+ if(this.hiddenName){
this.hiddenField = this.el.insertSibling({tag:'input', type:'hidden', name: this.hiddenName, id: (this.hiddenId||this.hiddenName)},
'before', true);
this.hiddenField.value =
@@ -318,6 +320,7 @@
}
+
if(Roo.isGecko){
this.el.dom.setAttribute('autocomplete', 'off');
}
@@ -378,7 +381,9 @@
}
this.view = new Roo.View(this.innerList, this.tpl, {
- singleSelect:true, store: this.store, selectedClass: this.selectedClass
+ singleSelect:true,
+ store: this.store,
+ selectedClass: this.selectedClass
});
this.view.on('click', this.onViewClick, this);