Vikram404@hotmail.com
Guest
|
Posted:
Mon Jan 24, 2005 8:23 pm Post subject:
Disabling IE Specific Menus in Sharepoint. |
|
|
Hi,
I want to disable the browser detection and the specific menus which are
specific to IE from showing in the SPS portal. I figured that I need to edit
the "\Program Files\Common Files\Microsoft Shared\web server
extensions\60\TEMPLATE\LAYOUTS\1033\OWSBROWS.JS" for this purpose.
I commented out the line:
this.ie = (agt.indexOf("msie")!=-1);
And now all the special JS menus for IE are not coming up. However, I am not
sure if this is the only change that I need to make and if this will impact
any other functionality ?? Any info from MS, or people who have done
something like this would be appreciated...
Regards,
Vikram |
|
Kit Kai
Guest
|
Posted:
Mon Jan 24, 2005 8:53 pm Post subject:
Re: Disabling IE Specific Menus in Sharepoint. |
|
|
Hello Vikram404hotmailcom@discussions.microsoft.com,
A better way is to create a function called Custom_AddDocLibMenuItems for
document library and straight away return true.
create a function called Custom_AddListMenuItems (I think) and return true
immediate for lists
Do a search for Custom_Add???MenuItems... you will know what are the custom
functions you need, then just return true immediate to disable the menu.
Dun comment the code you have just did... I'm sure you will break something
somewhere...
| Quote: | Hi,
I want to disable the browser detection and the specific menus which
are
specific to IE from showing in the SPS portal. I figured that I need
to edit
the "\Program Files\Common Files\Microsoft Shared\web server
extensions\60\TEMPLATE\LAYOUTS\1033\OWSBROWS.JS" for this purpose.
I commented out the line:
this.ie = (agt.indexOf("msie")!=-1);
And now all the special JS menus for IE are not coming up. However, I
am not sure if this is the only change that I need to make and if this
will impact any other functionality ?? Any info from MS, or people who
have done something like this would be appreciated...
Regards,
Vikram |
|
|