Ticket #6022: patch6022.diff
| File patch6022.diff, 0.7 kB (added by wolfram, 10 months ago) |
|---|
-
form/ComboBox.js
653 652 around: this.domNode, 654 653 parent: this 655 654 }); 655 }, 656 657 setValue:function(value){ 658 // Allow passing in a value which actually is a store's item. 659 if (this.store && this.store.isItem(value)) { 660 this.item = value; 661 value = this.store.getValue(value, this.searchAttr); 662 // Set the second parameter (priorityChange) to true. 663 // Why? Just because its done so in _doSelect() too. 664 // hacky ... isn't it? 665 arguments[1] = true; 666 } 667 this.inherited(arguments); 656 668 } 657 669 } 658 670 );