Changeset 4373


Ignore:
Timestamp:
Jul 4, 2008, 11:37:36 AM (15 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1071: Help text for default configuration selection for Base1PluginExecuter is not shown automatically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/plugin/select_plugin.jsp

    r3679 r4373  
    122122      lastSelectedPlugin = plugin;
    123123      lastSelectedConfig = null;
     124      configOnChange();
    124125    }
    125126   
     
    129130      var frm = document.forms['plugin'];
    130131      var configurationList = frm.pluginconfiguration_id;
     132      if (configurationList.selectedIndex < 0) return; 
    131133      var config = configurationList[configurationList.selectedIndex].configuration;
    132134      if (lastSelectedConfig)
     
    168170            String requiresConfig = pd.requiresConfiguration() ? "true" : "false";
    169171            descriptions.append("<div id=\"description." + pd.getId() +"\" style=\"display: none;\">");
    170             descriptions.append(HTML.niceFormat("<b>" + pd.getName() + "</b>\n" + pd.getDescription()));
     172            descriptions.append(HTML.niceFormat("<b>" + pd.getName() + "</b>\n" + Values.getString(pd.getDescription())));
    171173            descriptions.append("</div>");
    172174            %>
     
    178180          {
    179181            descriptions.append("<div id=\"description.config." + pc.getId() + "\" style=\"display: none; padding-top: 6px;\">");
    180             descriptions.append(HTML.niceFormat("<b>" + pc.getName() + "</b>\n" +pc.getDescription()));           
     182            descriptions.append(HTML.niceFormat("<b>" + pc.getName() + "</b>\n" +Values.getString(pc.getDescription())));           
    181183            descriptions.append("</div>");
    182184            %>
Note: See TracChangeset for help on using the changeset viewer.