summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-21 19:52:05 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-21 19:52:14 -0500
commit3be68b60a0b85748df63f1bca9e37e5286c065d0 (patch)
tree03c555de1f3d0aa67d572e1241f1d9804eb3909c /usr/local
parent2fa746984954a7e5e863520f806d68e63a744948 (diff)
downloadpfsense-3be68b60a0b85748df63f1bca9e37e5286c065d0.zip
pfsense-3be68b60a0b85748df63f1bca9e37e5286c065d0.tar.gz
Auto insert disk size
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/installer/installer.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php
index e8fa9fe..c7ea9b4 100644
--- a/usr/local/www/installer/installer.php
+++ b/usr/local/www/installer/installer.php
@@ -731,6 +731,8 @@ function installer_custom() {
// Run through all rows and process data
for(var x = 0; x<99; x++) { //optimize me better
if(\$('fstype' + x)) {
+ if(\$('size' + x).value == '')
+ \$('size' + x).value = disk_sizes[\$('disk' + x).value];
var fstype = \$F('fstype' + x);
if(fstype.substring(fstype.length - 4) == ".eli") {
\$('encpass' + x).disabled = 0;
OpenPOWER on IntegriCloud