Ignore:
Timestamp:
May 14, 2013, 3:49:26 PM (9 years ago)
Author:
Nicklas Nordborg
Message:

References #456: Barcode layout wizard

Hide first section when moving to the second step.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/libprep/assign_barcode.jsp

    r1938 r1971  
    167167 
    168168  currentStep = 2;
    169   document.getElementById('step.2.section').style.display = 'table';
     169  Main.hide('step.1.section');
     170  Main.show('step.2.section');
    170171  Main.show('gocancel');
    171172  Main.show('gocreate');
     
    667668  </div>
    668669
     670  <div class="allsteps">
     671    <div class="step current" id="step.1">1</div>
     672    ›
     673    <div class="step future" id="step.2">2</div>
     674  </div>
     675
    669676  <form name="reggie" onsubmit="return false;">
    670677 
    671   <table id="step.1.section" class="stepform" style="width: auto;">
     678  <div id="step.1.section">
     679  <table class="stepform" style="width: auto;">
    672680  <tr>
    673681    <td rowspan="3" class="stepno">1</td>
     
    694702  </tr>
    695703  </table>
    696  
    697   <table id="step.2.section" class="stepform" style="display: none; width: auto;">
     704  </div>
     705 
     706  <div id="step.2.section" style="display: none;">
     707  <table class="stepform" style="width: auto;">
    698708  <tr>
    699709    <td rowspan="2" class="stepno">2</td>
     
    776786  </tr>
    777787  </table>
    778  
     788  </div>
    779789 
    780790  <div class="loading" id="loading" style="display: none;"><table><tr><td><img src="../images/loading.gif"></td><td id="loading.msg">Please wait...</td></tr></table></div>
Note: See TracChangeset for help on using the changeset viewer.