mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(console) handler: add new prompt on empty command
This commit is contained in:
parent
33180db13d
commit
2be1bd0463
1 changed files with 2 additions and 0 deletions
|
|
@ -50,6 +50,8 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
function handler(command) {
|
||||
if (command)
|
||||
Socket.emit(CHANNEL, command);
|
||||
else
|
||||
jqconsole.Prompt(true, handler);
|
||||
}
|
||||
|
||||
function show(callback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue