smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

CatalogueSearchPanel - Metadata preview popup window on IE is shown without scrollbars #419

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to use CatalogueSearchPanel with IE 11
2. Use button to show full metadata

IE 11 doesn't show scrollbars by default, so metadata can't be seen properly. I 
haven't tried with other versions, but I think it would be best to change 
CatalogueSearchPanel.js line 391

if (urlTemplate) {
    var url = urlTemplate.apply({id: id});
    window.open(url, "MDWindow", "width=800, height=600, scrollbars=1");
}

Original issue reported on code.google.com by davor.ra...@gmail.com on 27 Apr 2015 at 7:42

GoogleCodeExporter commented 9 years ago
The window also cannot be resized, so it should be:

window.open(url, "MDWindow", "width=800, height=600, scrollbars=1, 
resizable=1");

Original comment by davor.ra...@gmail.com on 27 Apr 2015 at 7:53