Changeset 1306
- Timestamp:
- Mar 3, 2011, 10:47:17 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/persinfo.jsp
r1305 r1306 252 252 } 253 253 254 Main.show('gocancel'); 255 254 256 // Get biosource information from the AJAX response 255 257 patientInfo = response.patientInfo; … … 394 396 395 397 Main.hide('gocreate'); 398 Main.hide('gocancel'); 396 399 var frm = document.forms['reggie']; 397 400 … … 465 468 Main.show('errorMessage'); 466 469 Main.hide('gonext'); 470 Main.hide('gocancel'); 467 471 Main.show('gorestart'); 468 472 } 469 473 470 function goRestart() 471 { 474 function goRestart(force) 475 { 476 if (!force && !confirm('Cancel this registration?')) return; 472 477 location.href = location.href; 473 478 } … … 751 756 752 757 <table style="margin-left: 20px; margin-top: 10px;"> 753 <tr><td><base:button id="gonext" title="Next" image="gonext.gif" onclick="goNext()"/></td></tr> 754 <tr><td><base:button id="gocreate" title="Create" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td></tr> 755 <tr><td><base:button id="gorestart" title="Restart" image="goback.gif" onclick="goRestart()" style="display: none;"/></td></tr> 758 <tr> 759 <td><base:button id="gocancel" title="Cancel" onclick="goRestart(false)" style="display: none;"/></td> 760 <td><base:button id="gonext" title="Next" image="gonext.gif" onclick="goNext()"/></td> 761 <td><base:button id="gocreate" title="Create" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td> 762 <td><base:button id="gorestart" title="Restart" image="goback.gif" onclick="goRestart(true)" style="display: none;"/></td> 763 </tr> 756 764 </table> 757 765 </form>
Note: See TracChangeset
for help on using the changeset viewer.