View Full Version : DataModel.query bug in FF
jdgrieco
10-29-2006, 07: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
10-29-2006, 08: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.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.