[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] RE: UI browser detection bug


"Daniel Davenport" <suppressed> wrote:
> > When i try to use the Table Editor or Menu Editor, i get a 
> > message that says
> > 
> > 	Modern browser like Mozilla or MSIE 5 required for page accessed
> > 
> > which is a bit strange, considering i'm using IE7 beta 2 at 
> > the moment.
> 
> Correction: the table editor is fine.  So far, i'm only having problems
> with the menu editor.  Haven't looked at other js-heavy pages, as i
> don't use them and had therefore removed them from the menus.
> 
Well, it did ask for a modern browser, rather than an expensive update
to a legacy browser. ;-)

Edit your "lib/UI/vars/UI_STD_HEAD" file and find the following lines:

    my $regex = q{__MV_DHTML_BROWSER__}
        || 'MSIE.*5.5|MSIE.*6|Mozilla\W*5|Mozilla.*Gecko';

Change the above to allow your browser version to match, perhaps like
this:

    my $regex = q{__MV_DHTML_BROWSER__}
        || 'MSIE.*5.5|MSIE.*[67]|Mozilla\W*5|Mozilla.*Gecko';

If you don't want to edit that file then you can set a "MV_DHTML_BROWSER"
Variable with the above regex value instead.

If you let me know what works, I'll update the version in CVS.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    suppressed
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.