Ignore:
Timestamp:
30 May 2018, 20:27:22 (7 years ago)
Author:
Henrik Bettermann
Message:

Remove 'hidden' attribute from ordereddSelectionList which has
caused a malfunction in Internet Exporer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/widgets/orderedSelectionList.pt

    r13032 r15037  
    119119    newNode.setAttributeNode(newAttr);
    120120
    121     newAttr = document.createAttribute("type");
    122     newAttr.nodeValue = "hidden";
    123     newNode.setAttributeNode(newAttr);
    124 
    125121    newAttr = document.createAttribute("value");
    126122    newAttr.nodeValue = toSel.options[i].value;
     
    141137  <tr>
    142138    <td>
    143       <select id="from" name="from" size="5" multiple=""
     139      <select id="from" name="from" size="5" multiple="multiple"
    144140          tal:attributes="name string:${view/name}.from;
    145141                          id string:${view/name}.from;
     
    148144        <option tal:repeat="entry view/choices"
    149145                tal:attributes="value entry/value"
    150                 tal:content="entry/text"/>
     146                tal:content="entry/text" i18n:translate=""/>
    151147      </select>
    152148    </td>
     
    163159    </td>
    164160    <td>
    165       <select id="to" name="to" size="5" multiple=""
     161      <select id="to" name="to" size="5" multiple="multiple"
    166162          tal:attributes="name string:${view/name}.to;
    167163                          id string:${view/name}.to;
     
    169165        <option tal:repeat="entry view/selected"
    170166                tal:attributes="value entry/value"
    171                 tal:content="entry/text"/>
     167                tal:content="entry/text" i18n:translate=""/>
    172168      </select>
    173169      <input name="foo-empty-marker" type="hidden"
    174170        tal:attributes="name string:${view/name}-empty-marker"/>
    175       <span id="toDataContainer"
     171      <span id="toDataContainer" style="display: none"
    176172            tal:attributes="id string:${view/name}.toDataContainer">
    177173        <script type="text/javascript" tal:content="string:
Note: See TracChangeset for help on using the changeset viewer.