Changeset 7904


Ignore:
Timestamp:
Feb 10, 2021, 1:49:50 PM (9 months ago)
Author:
Nicklas Nordborg
Message:

Fixes #2240: The "Select All" checkbox in the "Edit annotations" dialog should only select among visible annotations

File:
1 edited

Legend:

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

    r7832 r7904  
    244244      }
    245245     
     246      entry.visible = show;
    246247      Doc.showHide(entry.id, show);
    247248    }
     
    751752    {
    752753      var entry = annotations[i];
    753       if (entry.source == 'PRIMARY')
     754      if (entry.visible && entry.source == 'PRIMARY')
    754755      {
    755756        var checkbox = Doc.element('check.'+entry.id);
     
    774775    {
    775776      var entry = annotations[i];
    776       if (entry.source != 'PRIMARY')
     777      if (entry.visible && entry.source != 'PRIMARY')
    777778      {
    778779        var checkbox = Doc.element('check.'+entry.id);
Note: See TracChangeset for help on using the changeset viewer.