fix for #4420

fix for #4420

I attached a patch for #4420 in trac tonight. It's not exactly a huge
bug, but I'm trying to pick off some smaller ones to better
familiarize myself with the internals so I can lend a hand with the
bug queue. We're in the process of transitioning from in-house widgets
the jQuery UI at my day job and I'd like to help out where I can.
To that end, would it be possible to get commit privs on the
repository so I don't need to ping people to review trivial changes
like this?
Thanks!
--