summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/jscripts/Configurar.js
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-11-25 12:56:30 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-11-25 15:37:28 +0100
commit4c4ea59598d9a432068dd8034005759fbfa54386 (patch)
tree5301820f1a527f80c1bfe66fc93a42507339efc6 /admin/WebConsole/comandos/jscripts/Configurar.js
parenta89da3dcfcee46b13d8d85f8889434a952c38d2a (diff)
#1008 Add support for partitioning several disks
WebConsole only supports for partitioning and formatting the first disk of the client. POST /setup calls in ogserver and ogclient support for multiple disks. Update WebConsole to allow to choose which disk do you want to partition and format.
Diffstat (limited to 'admin/WebConsole/comandos/jscripts/Configurar.js')
-rw-r--r--admin/WebConsole/comandos/jscripts/Configurar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/comandos/jscripts/Configurar.js b/admin/WebConsole/comandos/jscripts/Configurar.js
index 8e11615b..85e94264 100644
--- a/admin/WebConsole/comandos/jscripts/Configurar.js
+++ b/admin/WebConsole/comandos/jscripts/Configurar.js
@@ -239,7 +239,7 @@ function comprobarDatos(cc)
*/
var RC="!";
- var disco=1; // Siempre disco 1
+ var disco = document.disk.current_numdisk.value;
atributos="dsk="+disco+"@"+"cfg="; // Inicializa variable global de parámetros del comando