Browser specific toolbars/buttons

2 posts, 0 answers
  1. Stuart
    Stuart avatar
    13 posts
    Member since:
    Dec 2007

    Posted 06 Dec 2007 Link to this post

    Is it possible to have different toolbars in different browsers?  The MOSS Link Manager doesn't work properly in Firefox, so we want to remove it, but leave it in IE.
  2. Lini
    Lini avatar
    2144 posts

    Posted 06 Dec 2007 Link to this post

    Hello Stuart,

    You can do that with only a small modification to the editor's JS code. Open the file \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\\RadControls\Editor\Scripts\7_2_1\MOSSEditorTools.js and add the following code for the MOSSLinkManager command:

    RadEditorCommandList["MOSSLinkManager"] = function(commandName, editor, oTool)  
        if (!editor.IsIE && !editor.IsSafari)  

    With this code, if you open the tool in Firefox, the editor will open a normal Link Manager dialog. However, if you open the tool in Internet Explorer or Safari, you will still get the MOSS link asset picker.

    Note that if you upgrade to a newer version of the editor at some point, this file will be overwritten so you will need to make the change again.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

Back to Top