fix(console) handler: add new prompt on empty command

This commit is contained in:
coderaiser 2014-07-02 06:45:55 -04:00
parent 33180db13d
commit 2be1bd0463

View file

@ -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) {