Changeset 6974


Ignore:
Timestamp:
Oct 6, 2015, 11:17:29 AM (6 years ago)
Author:
Nicklas Nordborg
Message:

References #1941: Store experimental factor values as part experiments

The current unit was not selected in IE, since the selected status is set by 4th parameter instead of 3rd (both works in Firefox).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6-stable/www/common/annotations/annotate.js

    r6955 r6974  
    468468    {
    469469      var unit = units[unitNo];
    470       var option = new Option(unit.symbol, unit.id, selected == unit.id);
     470      var option = new Option(unit.symbol, unit.id, false, selected == unit.id);
    471471      option.title = unit.description;
    472472      unitList[unitList.length] = option;
     
    683683  annotate.valueOnBlur = function(event)
    684684  {
    685     if (!selectedAnnotation && selectedMultiIndex < 0) return;
     685    if (!selectedAnnotation || selectedMultiIndex < 0) return;
    686686   
    687687    var frm = document.forms['annotations'];
Note: See TracChangeset for help on using the changeset viewer.