8 Nov 2012 6:08 PM #11
- Join Date
- Mar 2007
- Notts/Redwood City
- Vote Rating
If you change the tests to
if ('browserEvent' in <whateverObjectYouAreLookingAt>)Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
12 Nov 2012 5:44 AM #12
Can't recreate the condition at the moment, possibly due to my workaround.
I tried undoing it and recreating, but no luck as yet.
I'd assume your fix is fine, and certainly faster than calling isDefined.
Saying that though, I'd assume event.browserEvent to be truthy, so that's assumptions for ya