The GWT side triggers the open on a new window and the perspective switch
is on the home and browser. That is why I built this check on both sides


On 31 July 2013 14:40, Rob Fellows <notifications@github.com> wrote:

> In user-console/source/org/pentaho/mantle/public/home/js/home.js:
>
> > @@ -85,7 +85,11 @@ pen.define([
> >      }
> >
> >      // show the opened perspective
> > -    parent.mantle_setPerspective('opened.perspective');
> > +    var extension = path.split(".").pop();
> > +
> > +    if(!($("body").hasClass("IE") && extension == "pdf")){
>
> why not just use the built in JQuery method?
>
> $.browser.msie
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pentaho/pentaho-platform/pull/750/files#r5503269>
> .
>



-- 
Diogo Mariano
Development Team

http://www.webdetails.pt