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(); - -