projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
21128: fixed resize crash Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii...
[arvados.git]
/
public
/
webshell
/
shell_in_a_box.js
diff --git
a/public/webshell/shell_in_a_box.js
b/public/webshell/shell_in_a_box.js
index c258b5d7316e40eda679006c9310c97a478144da..6b0a5b69b5d8b9fff6653eb62ba06ae5cf7b3113 100644
(file)
--- a/
public/webshell/shell_in_a_box.js
+++ b/
public/webshell/shell_in_a_box.js
@@
-128,7
+128,7
@@
function ShellInABox(url, container) {
};
extend(ShellInABox, VT100);
};
extend(ShellInABox, VT100);
-ShellInABox.prototype.sessionClosed = function() {
+ShellInABox.prototype.sessionClosed = function(
msg
) {
try {
this.connected = false;
if (this.session) {
try {
this.connected = false;
if (this.session) {
@@
-136,7
+136,7
@@
ShellInABox.prototype.sessionClosed = function() {
if (this.cursorX > 0) {
this.vt100('\r\n');
}
if (this.cursorX > 0) {
this.vt100('\r\n');
}
- this.vt100('Session closed.');
+ this.vt100(
msg ||
'Session closed.');
this.currentRequest.abort();
}
// Revealing the "reconnect" button is commented out until we hook
this.currentRequest.abort();
}
// Revealing the "reconnect" button is commented out until we hook