projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76eb6a4
)
Roo/form/ComboBox.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 14 Nov 2011 09:30:28 +0000
(17:30 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 14 Nov 2011 09:30:28 +0000
(17:30 +0800)
Roo/form/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBox.js
b/Roo/form/ComboBox.js
index
810db9e
..
93e176a
100644
(file)
--- a/
Roo/form/ComboBox.js
+++ b/
Roo/form/ComboBox.js
@@
-311,9
+311,13
@@
Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
this.value !== undefined ? this.value : '';
// prevent input submission
- if (this.hiddenName == this.name) {
- this.el.dom.removeAttribute('name');
- }
+ //if (this.hiddenName == this.name) {
+ this.el.dom.removeAttribute('name');
+ this.hiddenNameField = this.el.insertSibling({tag:'input', type:'hidden', name: this.name}, 'before', true);
+
+
+
+ //}
}
if(Roo.isGecko){
this.el.dom.setAttribute('autocomplete', 'off');