Roo/bootstrap/ComboBox.js
authoredward <edward@roojs.com>
Thu, 28 Dec 2017 04:03:58 +0000 (12:03 +0800)
committeredward <edward@roojs.com>
Thu, 28 Dec 2017 04:03:58 +0000 (12:03 +0800)
Roo/bootstrap/ComboBox.js

index 8f38f07..bb1ed1a 100644 (file)
@@ -665,6 +665,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         }
         
         this.store = Roo.factory(this.store, Roo.data);
+        this.store.parent = this;
         
         // if we are building from html. then this element is so complex, that we can not really
         // use the rendered HTML.
@@ -798,7 +799,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         this.view.on('click', this.onViewClick, this);
         
         
-        
         this.store.on('beforeload', this.onBeforeLoad, this);
         this.store.on('load', this.onLoad, this);
         this.store.on('loadexception', this.onLoadException, this);