diff --git a/HELP.md b/HELP.md index d749f88e..54a0933e 100644 --- a/HELP.md +++ b/HELP.md @@ -74,6 +74,7 @@ Cloud Commander supports command line parameters: | `--port` | set port number | `--minify` | enable minification | `--progress` | show progress of file operations +| `--html-dialogs` | use html dialogs | `--open` | open web browser when server started | `--one-panel-mode` | set one panel mode `--config-dialog` | enable config dialog @@ -84,6 +85,7 @@ Cloud Commander supports command line parameters: | `--no-open` | do not open web browser when server started | `--no-minify` | disable minification | `--no-progress` | do not show progress of file operations +| `--no-html-dialogs` | do not use html dialogs | `--no-one-panel-mode` | unset one panel mode | `--no-config-dialog` | disable config dialog | `--no-console` | disable console @@ -234,6 +236,7 @@ Here is description of options: "root" : "/", /* root directory */ "prefix" : "", /* url prefix */ "progress" : true, /* show progress of file operations */ + "htmlDialogs" : true, /* use html dialogs */ "onePanelMode" : false, /* set one panel mode */ "configDialog" : true, /* enable config dialog */ "console" : true /* enable console */ diff --git a/bin/cloudcmd.js b/bin/cloudcmd.js index 0403e36b..6d1259ce 100755 --- a/bin/cloudcmd.js +++ b/bin/cloudcmd.js @@ -32,6 +32,7 @@ var Info = require('../package'), 'open', 'minify', 'progress', + 'html-dialogs', 'console', 'config-dialog', 'one-panel-mode' @@ -50,6 +51,7 @@ var Info = require('../package'), progress : config('progress'), console : defaultTrue(config('console')), + 'html-dialogs': config('htmlDialogs'), 'config-dialog': defaultTrue(config('configDialog')), 'one-panel-mode': config('onePanelMode'), }, @@ -89,6 +91,7 @@ if (args.version) { config('console', args.console); config('prefix', args.prefix); config('root', args.root); + config('htmlDialogs', args['html-dialogs']); config('onePanelMode', args['one-panel-mode']); config('configDialog', args['config-dialog']); diff --git a/json/config.json b/json/config.json index 9f1bdb94..2d17ca4b 100644 --- a/json/config.json +++ b/json/config.json @@ -20,6 +20,8 @@ "root": "/", "prefix": "", "progress": true, + "htmlDialogs": true, + "configDialog": true, "onePanelMode": false, "configDialog": true, "console": true diff --git a/json/help.json b/json/help.json index eb61533e..12088dbb 100644 --- a/json/help.json +++ b/json/help.json @@ -13,6 +13,7 @@ "--port ": "set port number", "--minify ": "enable minification", "--progress ": "show progress of file operations", + "--html-dialogs ": "use html dialogs", "--one-panel-mode ": "set one panel mode", "--config-dialog ": "enable config dialog", "--console ": "enable console", @@ -23,6 +24,7 @@ "--no-open ": "do not open web browser when server started", "--no-minify ": "disable minification", "--no-progress ": "do not show progress of file operations", + "--no-html-dialogs ": "do not use html dialogs", "--no-one-panel-mode ": "unset one panel mode", "--no-config-dialog ": "disable config dialog", "--no-console ": "disable console" diff --git a/man/cloudcmd.1 b/man/cloudcmd.1 index e1a0e197..b0564161 100644 --- a/man/cloudcmd.1 +++ b/man/cloudcmd.1 @@ -36,6 +36,7 @@ programs in browser from any computer, mobile or tablet device. --port set port number --minify enable minification --progress show progress of file operations + --html-dialogs use html dialogs --open open web browser when server started --one-panel-mode set one panel mode --config-dialog enable config dialog @@ -46,6 +47,7 @@ programs in browser from any computer, mobile or tablet device. --no-open do not open web browser when server started --no-minify disable minification --no-progress do not show progress of file operations + --no-html-dialogs do not use html dialogs --no-one-panel-mode unset one panel mode --no-config-dialog disable config dialog --no-console disable console