Changeset 7197


Ignore:
Timestamp:
Oct 17, 2016, 7:36:21 AM (6 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #2028: Right-click for selecting table columns do no work in popup lists

The menu functionality is needed also when the list page is displayed in a popup. Hopefully this will not break other popups...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/Head.java

    r6881 r7197  
    193193    int pageType = page.getTypeCode();
    194194    if (pageType == Page.PAGE_TYPE_DEFAULT) allStyles.add("menu.css");
    195     if (pageType == Page.PAGE_TYPE_POPUP) allStyles.add("popup.css");
     195    if (pageType == Page.PAGE_TYPE_POPUP)
     196    {
     197      allStyles.add("menu.css");
     198      allStyles.add("popup.css");
     199    }
    196200    if (getStyles() != null)
    197201    {
     
    247251      allScripts.add("menu.js");
    248252    }
    249     if (pageType == Page.PAGE_TYPE_POPUP) allScripts.add("popup.js");
     253    if (pageType == Page.PAGE_TYPE_POPUP)
     254    {
     255      allScripts.add("menu.js");
     256      allScripts.add("popup.js");
     257    }
    250258    if (getScripts() != null)
    251259    {
Note: See TracChangeset for help on using the changeset viewer.