Project

General

Profile

« Previous | Next » 

Revision fb34dd22

Added by Scott Ullrich over 14 years ago

Add effect when total allocated amount changes

View differences:

usr/local/www/installer/installer.php
368 368
	echo <<<EOF
369 369
	<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
370 370
	<script src="/javascript/scriptaculous/prototype.js" type="text/javascript"></script>
371
	<script src="/javascript/scriptaculous/scriptaculous.js" type="text/javascript"></script>
371 372
	<script type="text/javascript">
372 373
		function getinstallerprogress() {
373 374
			url = '/installer/installer.php';
......
733 734
				}
734 735
				// If the totalsize element exists, set it and disable
735 736
				if(\$('totalsize')) {
736
					\$('totalsize').value = totalsize;
737
					if(\$('totalsize').value != totalsize) {
738
						// When size allocation changes, draw attention.
739
 						new Effect.Highlight('totalsize');
740
						\$('totalsize').value = totalsize;
741
					}
737 742
					\$('totalsize').disabled = 1;
738 743
				}
739 744
			}

Also available in: Unified diff