projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
616838e
)
Roo/form/ComboBoxArray.js
author
Alan Knowles
<alan@roojs.com>
Wed, 2 May 2012 07:26:43 +0000
(15:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 2 May 2012 07:26:43 +0000
(15:26 +0800)
Roo/form/ComboBoxArray.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBoxArray.js
b/Roo/form/ComboBoxArray.js
index
c1c7116
..
8a0a6af
100644
(file)
--- a/
Roo/form/ComboBoxArray.js
+++ b/
Roo/form/ComboBoxArray.js
@@
-252,7
+252,7
@@
Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
reset : function()
{
- Roo.form.ComboBoxArray.superclass.reset.call(this);
+
//
Roo.form.ComboBoxArray.superclass.reset.call(this);
this.items.each(function(f) {
f.remove();
});
@@
-268,7
+268,8
@@
Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
setValue: function(v) // not a valid action - must use addItems..
{
-
+ this.reset();
+
if (this.store.isLocal) {
// then we can use the store to find the values..
// comma seperated at present.. this needs to allow JSON based encoding..