parent
09adb8dfda
commit
2904bd62d7
|
@ -1490,6 +1490,14 @@ $(function() {
|
||||||
contentType: "application/json; charset=UTF-8",
|
contentType: "application/json; charset=UTF-8",
|
||||||
data: JSON.stringify({"command": command})
|
data: JSON.stringify({"command": command})
|
||||||
})
|
})
|
||||||
|
$("#terminal-command").val('')
|
||||||
|
}
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
$("#terminal-command").keyup(function(event){
|
||||||
|
if(event.keyCode == 13){
|
||||||
|
$("#terminal-send").click()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue