See also: https://github.com/geoext/geoext/commit/f1930503b50217e28c2bb7763a7aae2d5a4157f5#diff-8215faf876488608af1f233f82f10f87