projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03106c0
)
Roo/form/ComboBoxArray.js
author
edward
<edward@roojs.com>
Wed, 20 Jul 2016 07:42:14 +0000
(15:42 +0800)
committer
edward
<edward@roojs.com>
Wed, 20 Jul 2016 07:42:14 +0000
(15:42 +0800)
Roo/form/ComboBoxArray.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBoxArray.js
b/Roo/form/ComboBoxArray.js
index
ad761e3
..
530279c
100644
(file)
--- a/
Roo/form/ComboBoxArray.js
+++ b/
Roo/form/ComboBoxArray.js
@@
-276,8
+276,9
@@
Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
reset : function()
{
//Roo.form.ComboBoxArray.superclass.reset.call(this);
- this.items.clear();
-
+ this.items.each(function(f) {
+ f.remove();
+ });
this.el.dom.value = '';
if (this.hiddenEl) {
this.hiddenEl.dom.value = '';
@@
-293,8
+294,6
@@
Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
this.reset();
- Roo.log(this.items);
- Roo.log(v);
if (this.store.isLocal && (typeof(v) == 'string')) {