Ticket #920: Haiku-from-rev1j-live.patch

File Haiku-from-rev1j-live.patch, 878 bytes (added by johndrinkwater, 17 years ago)
  • componentselect.

    old new  
    307307    parent.replaceChild( hiddenComponent[ set ], original );
    308308}
    309309
    310 window.componentList = new Array( );
    311 window.components = 0;
    312 window.componentSelector = new Array( );
    313 window.hiddenComponent = new Array( );
    314 window.maxBranches = 0;
    315 
    316310/*
    317311  We hook into the query page with this attached to the filter <select>
    318312  We should be called after the component has been created if the browser
     
    328322}
    329323
    330324function initialiseComponents() {
     325   
     326    window.componentList = new Array( );
     327    window.components = 0;
     328    window.componentSelector = new Array( );
     329    window.hiddenComponent = new Array( );
     330    window.maxBranches = 0;
    331331
    332332    var comps = document.getElementsBySelector('tr.component td.filter select');
    333333    if ( comps.length > 0 ) {