summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-19 16:50:24 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-19 16:50:24 -0500
commitfb34dd220374da1a97d0ca1e2078bb07f0fb03a0 (patch)
tree5a84d96a8335292d0a83f9e5ce85106c7c3c7c9a /usr/local
parente1271f327b2123ee8000a45083a60d29730a7fb0 (diff)
downloadpfsense-fb34dd220374da1a97d0ca1e2078bb07f0fb03a0.zip
pfsense-fb34dd220374da1a97d0ca1e2078bb07f0fb03a0.tar.gz
Add effect when total allocated amount changes
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/installer/installer.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php
index 6195d7a..f1a825f 100644
--- a/usr/local/www/installer/installer.php
+++ b/usr/local/www/installer/installer.php
@@ -368,6 +368,7 @@ function body_html() {
echo <<<EOF
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<script src="/javascript/scriptaculous/prototype.js" type="text/javascript"></script>
+ <script src="/javascript/scriptaculous/scriptaculous.js" type="text/javascript"></script>
<script type="text/javascript">
function getinstallerprogress() {
url = '/installer/installer.php';
@@ -733,7 +734,11 @@ function installer_custom() {
}
// If the totalsize element exists, set it and disable
if(\$('totalsize')) {
- \$('totalsize').value = totalsize;
+ if(\$('totalsize').value != totalsize) {
+ // When size allocation changes, draw attention.
+ new Effect.Highlight('totalsize');
+ \$('totalsize').value = totalsize;
+ }
\$('totalsize').disabled = 1;
}
}
OpenPOWER on IntegriCloud