VirtualBox

Changeset 65085 in vbox for trunk/src


Ignore:
Timestamp:
Jan 3, 2017 7:29:23 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112587
Message:

TestManager/common.js: Fixed IE and filtering, no endsWith string method there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/htdocs/js/common.js

    r65051 r65085  
    377377    var sNewClass;
    378378    var sNewChar;
    379     if (sClass.endsWith('collapsable'))
     379    if (     sClass.substr(-11) == 'collapsable')
    380380    {
    381381        sNewClass = sClass.substr(0, sClass.length - 11) + 'expandable';
    382382        sNewChar  = '\u25B6'; /* black right-pointing triangle */
    383383    }
    384     else if (sClass.endsWith('expandable'))
     384    else if (sClass.substr(-10) == 'expandable')
    385385    {
    386386        sNewClass = sClass.substr(0, sClass.length - 10) + 'collapsable';
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette