camptocamp/cgxp — pull request #14 by asaunier (2012-01-05 13:40:50+00:00)
Title: IE7 compatibility fixes

This pull request deals with various bugs occuring with IE7:

1. ```Measure``` plugin: the popup displaying the Measure tools results has no explicit width config. No big deal with FF, Chrome or IE8+ but in IE7 the window is shown with a very wide width. Suggested solution: providing an explicit width (200px) when IE7 is detected.

2. ```FullTextSearch``` and ```ThemeFinder``` plugins: event propagation stop for combo tools (fulltextsearch and themeFinder). In IE7/8/9, no event parameter is passed to the ```onkeydown``` handler. On the other hand, the event object is available using ```window.event```. In addition, ```stopPropagation()``` is not available whereas IE supports the ```cancelBubbles``` attribute.

3. ```ThemeSelector``` plugin: in IE7 (OK for newer versions), the theme selector TabPanel height is incorrect (themes icons are not visible), whereas there are 1 or 2 tabs displayed. Using ```activeTab``` instead of ```activeItem``` and making sure that the content rendering is not deferred (```deferredRender: false```) solves the pb.