Changeset 3297


Ignore:
Timestamp:
May 7, 2007, 1:34:14 PM (14 years ago)
Author:
Nicklas Nordborg
Message:

Do not hide form elements for browsers that can handle layers correctly (ie. all but IE6)

Location:
trunk/www
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/admin/clients/help/edit_help.jsp

    r3296 r3297  
    267267    />   
    268268    <m:menuitem
    269       title="External link"
     269      title="Internal link"
    270270      onclick="encloseSelection('{@link ', '}')"
    271       tooltip="Insert an external link."
     271      tooltip="Insert a link to another help topic."
    272272    />
    273273    <%
     
    275275    %>
    276276    <m:menuitem
    277       title="Internal link"
     277      title="External link"
    278278      onclick="<%=insertBookmarkLink%>"
    279       tooltip="Insert a link to a part in this text."
     279      tooltip="Insert a link to an external web page."
    280280    />
    281281    <%
  • trunk/www/include/scripts/main.js

    r3068 r3297  
    15501550{
    15511551  this.isIE = navigator.appName == 'Microsoft Internet Explorer';
     1552  this.isIE7 = navigator.appVersion.indexOf('MSIE 7.0') > 0;
    15521553  this.autoAddFormElements = !this.isIE;
     1554  this.hideFormElementsForMenu = this.isIE & !this.isIE7;
    15531555}
    15541556
  • trunk/www/include/scripts/menu.js

    r2655 r3297  
    154154  {
    155155    this.numVisible++;
     156    if (keepForms == undefined)
     157    {
     158      keepForms = !Browser.hideFormElementsForMenu;
     159    }
    156160    if (this.numVisible == 1 && !keepForms) this.hideForms();
    157161    this.allVisible[this.allVisible.length] = menu;
Note: See TracChangeset for help on using the changeset viewer.