⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 249227 in webkit


Ignore:
Timestamp:
Aug 28, 2019, 5:44:28 PM (7 years ago)
Author:
Jonathan Bedard
Message:

results.webkit.org: Do not display branch selector if only one branches available
https://bugs.webkit.org/show_bug.cgi?id=201244

Rubber-stamped by Aakash Jain.

  • resultsdbpy/resultsdbpy/view/static/js/drawer.js: Hide the branch selector's

container if there aren't multiple branches to choose from.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r249226 r249227  
     12019-08-28  Jonathan Bedard  <jbedard@apple.com>
     2
     3        results.webkit.org: Do not display branch selector if only one branches available
     4        https://bugs.webkit.org/show_bug.cgi?id=201244
     5
     6        Rubber-stamped by Aakash Jain.
     7
     8        * resultsdbpy/resultsdbpy/view/static/js/drawer.js: Hide the branch selector's
     9        container if there aren't multiple branches to choose from.
     10
    1112019-08-28  Wenson Hsieh  <wenson_hsieh@apple.com>
    212
  • trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/drawer.js

    r249213 r249227  
    135135                return `<option value="${branch}">${branch}</option>`;
    136136            }).join('');
     137            element.parentElement.parentElement.parentElement.style.display = state.length > 1 ? null : 'none';
    137138        },
    138139    });
Note: See TracChangeset for help on using the changeset viewer.