From 346cc87f87559f8d4bd75ca0c6dc01c9dce7fc6e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 19 Dec 2010 16:29:16 -0500 Subject: [PATCH] Disable changing of allocated box. Merge two functions into one --- usr/local/www/installer/installer.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php index dbef00360f..ef975074c0 100644 --- a/usr/local/www/installer/installer.php +++ b/usr/local/www/installer/installer.php @@ -709,7 +709,8 @@ function installer_custom() { page_table_start($g['product_name'] . " installer - Customize disk(s) layout"); echo << - function onfstypeChange() { + function row_helper_dynamic_custom() { + var totalsize = 0; for(var x = 0; x<99; x++) { //optimize me better if(\$('fstype' + x)) { var fstype = \$F('fstype' + x); @@ -724,21 +725,18 @@ function installer_custom() { } } } - } - onfstypeChange(); - -