PDA

View Full Version : DataModel.query bug in FF



jdgrieco
29 Oct 2006, 4:21 PM
I'm using Grid.dataModel.query with a RegExp object but in FF this doesn't work properly. While I debug this method I note: typeof spec[col] returns 'function' in FF

jack.slocum
29 Oct 2006, 5:02 PM
That's an interesting one. That check was added to avoid problems with people who have overridden the Object prototype. If you haven't, you can safely remove it.

I commented it out in my dev copy and added a note to the documentation that it may fail if you have overridden Object.prototype.