Changeset 3906


Ignore:
Timestamp:
Apr 29, 2016, 2:22:14 PM (7 years ago)
Author:
Nicklas Nordborg
Message:

References #883: Add support for progress reporting to the Reggie wizard API

IE doesn't support classList.add() with multiple parameters. Assign directly to className instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/reggie-2.js

    r3904 r3906  
    10821082        done = document.createElement('span');
    10831083        done.id = 'wizard-progress-done';
    1084         done.classList.add('progress-bar-done', 'bg-filled-100', 'topborder', 'bottomborder', 'leftborder');
     1084        done.className = 'progress-bar-done bg-filled-100 topborder bottomborder leftborder';
    10851085        progressBar.appendChild(done);
    10861086      }
     
    10901090        remain = document.createElement('span');
    10911091        remain.id = 'wizard-progress-remain';
    1092         remain.classList.add('progress-bar-remain', 'topborder', 'bottomborder', 'rightborder');
     1092        remain.className = 'progress-bar-remain topborder bottomborder rightborder';
    10931093        progressBar.appendChild(remain);
    10941094      }
Note: See TracChangeset for help on using the changeset viewer.