Project

General

Profile

« Previous | Next » 

Revision 8041

use RegistryView listeners for the form submission process

View differences:

lib/style/common/templates/metacatui/confirmData.tmpl
410 410
</p>
411 411
<hr class="rule">
412 412

  
413
<form action="[% cgiPrefix %]/register-dataset.cgi" method="post">
413
<form id="confirmForm" action="[% cgiPrefix %]/register-dataset.cgi" method="post">
414 414
  <input type="hidden" name="cfg" value="[% cfg %]">
415 415
  <input type="hidden" name="docid" value="[% docid %]">
416 416
  <input type="hidden" name="stage" value="confirmed">
......
559 559
  	<!-- form submission -->
560 560
	<a name="buttons"></a>
561 561
	<p><span class="text-info">Is the information above correct?</span></p> 
562
	<input type="submit" class="btn" value="     Yes, submit    " name="dataCorrect">
563
	<input type="submit" class="btn" value="No, go back to editing" name="dataWrong">
562
	<input id="confirmYesSubmit" type="button" class="btn" value="     Yes, submit    " name="dataCorrect">
563
	<input id="confirmNoSubmit" type="button" class="btn" value="No, go back to editing" name="dataWrong">
564 564

  
565 565
</form>
566 566

  
lib/style/common/templates/metacatui/genericResponse.tmpl
52 52
				Otherwise, use the toolbar links above to navigate.</p>
53 53
            [% ELSE %]
54 54
                [% IF status != 'failure_no_resubmit' %]
55
                    <form name="editForm" action="[% cgiPrefix %]/register-dataset.cgi" method="post">
55
                    <form id="editForm" name="editForm" action="[% cgiPrefix %]/register-dataset.cgi" method="post">
56 56
                        <input type="hidden" name="cfg" value="[% cfg %]">
57 57
                        <input type="hidden" name="docid" value="[% docid %]">
58 58
                        <input type="hidden" name="stage" value="confirmed">
......
206 206
                            <em>Do NOT use the back button on your browser.</em>
207 207
                            Submit the description again when you are finished.
208 208
                        </span>
209
                    	<input type="submit" class="btn" value="Return to Form"/>
209
                    	<input id="entryReturnSubmit" type="button" class="btn" value="Return to Form"/>
210 210
                    	
211 211
                    </form>
212 212
                [% END %]

Also available in: Unified diff