git://git.onelab.eu
/
plstackapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
get rid of focus box, make input focus any time terminal is clicked
[plstackapi.git]
/
planetstack
/
core
/
static
/
shell
/
opencloud_shell.js
diff --git
a/planetstack/core/static/shell/opencloud_shell.js
b/planetstack/core/static/shell/opencloud_shell.js
index
d57d475
..
ab5a355
100644
(file)
--- a/
planetstack/core/static/shell/opencloud_shell.js
+++ b/
planetstack/core/static/shell/opencloud_shell.js
@@
-338,6
+338,8
@@
function startTerminal() {
$("#terminal_help1").show();
$("#terminal_help2").show();
$("#terminal_wait").hide();
+
+ $("#terminal").bind('click', function() { $(".readLine.active").focus(); });
};
$(document).ready(function() {