Changeset 11979
- Timestamp:
- 01/09/08 10:06:50 (12 months ago)
- Author:
- doughays
- Message:
-
Fixes #5544. Fake dojo.query datastore did not set the store member of the dataObject returned
from fetch and did not work in IE6 at all since innerText returned causing '
textContent'
to be executed which returned undefined.
- Files:
- 1 modified
-
dijit/trunk/form/ComboBox.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/form/ComboBox.js
r11973 r11979 571 571 deep: true 572 572 }, 573 store: this.store, 573 574 query: query, 574 575 onComplete: dojo.hitch(this, "_openResultList"), … … 997 998 /* attribute-name-string */ attribute, 998 999 /* value? */ defaultValue){ 999 return (attribute == "value") ? item.value : (item.innerText || item.textContent );1000 return (attribute == "value") ? item.value : (item.innerText || item.textContent || ''); 1000 1001 }, 1001 1002 … … 1022 1023 matcher = new RegExp(query, args.queryOptions.ignoreCase ? "i" : ""), 1023 1024 items = dojo.query("> option", this.root).filter(function(option){ 1024 return (option.innerText || option.textContent ).match(matcher);1025 return (option.innerText || option.textContent || '').match(matcher); 1025 1026 } ); 1026 1027
Download in other formats: