Changeset 5122


Ignore:
Timestamp:
Nov 21, 2018, 9:10:35 AM (4 years ago)
Author:
Nicklas Nordborg
Message:

References #1071: Installation wizard doesn't show error message

Fixed a problem where the installation wizard displayed "All checks passed" at the same time as a button "Create missing items".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.relax/trunk/resources/admin/install.js

    r5078 r5122  
    159159      Wizard.setWizardStatus('messagecontainer note', numWarnings+' warnings was detected. Relax may still work. If not, you need to fix it manually.');
    160160    }
    161     else
    162     {
    163       Wizard.setWizardStatus('all-checks-passed', 'All checks passed');
    164     }
    165161    if (numMissing > 0)
    166162    {
     
    179175      Doc.show('fixRNALinkToLysate');
    180176      Buttons.addClickHandler('fixRNALinkToLysate', install.fixRNALinkToLysate);
     177      allOk = false;
     178    }
     179    if (allOk)
     180    {
     181      Wizard.setWizardStatus('all-checks-passed', 'All checks passed');
    181182    }
    182183  }
Note: See TracChangeset for help on using the changeset viewer.