Project

General

Profile

« Previous | Next » 

Revision 8058

move the modal div out of the containing sections to display properly

View differences:

lib/style/common/templates/metacatui/entryForm.tmpl
1411 1411
		</div>
1412 1412
		
1413 1413
		<!-- Modal area for the guide-->
1414
		<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-remote="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Submitter">
1414
		<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-remote="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide">
1415 1415
		  <div class="modal-header">
1416 1416
		    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
1417 1417
		    <h3 id="myModalLabel">Registry Guide</h3>
......
1424 1424
		    <button class="btn btn-primary" data-dismiss="modal">Ok</button>
1425 1425
		  </div>
1426 1426
		</div>
1427
		<script language="JavaScript" type="text/JavaScript">
1428
			// get it out of special containers with 'position: blah' CSS
1429
			$('#myModal').appendTo("body");
1430
		</script>
1427 1431
		
1428 1432
	</article>

Also available in: Unified diff