Project

General

Profile

« Previous | Next » 

Revision 8037

submit form via ajax

View differences:

lib/style/common/templates/metacatui/entryForm.tmpl
53 53
			<!--  the main form -->
54 54
			<div class="row-fluid">
55 55
			
56
				<form action="[% cgiPrefix %]/register-dataset.cgi" enctype="multipart/form-data" method="post" class="form-horizontal">
56
				<form id="entryForm" action="[% cgiPrefix %]/register-dataset.cgi" enctype="multipart/form-data" method="post" class="form-horizontal">
57 57
					<input type="hidden" name="cfg" value="[% cfg %]">
58 58
					<input type="hidden" name="docid" value="[% docid %]">
59 59
					<input type="hidden" name="stage" value="insert">
......
1399 1399
    					</div>
1400 1400
					</div> <!-- end the accordinan -->
1401 1401
					
1402
					<input type="submit" class="btn" onClick="sortInputTags()" value="Submit Data Set Description" name="submit">
1402
					<input type="button" class="btn" onClick="sortInputTags(); submitForm('entryForm');" value="Submit Data Set Description" name="submit">
1403 1403
				</form>
1404 1404
				
1405 1405
			</div> <!-- end the row -->

Also available in: Unified diff