From b008c44be2e754ac21c09b953a551bc60892aa3a Mon Sep 17 00:00:00 2001 From: zodiac Date: Tue, 17 Mar 2009 17:54:04 +0000 Subject: [PATCH] Removed alert() statement that should never trigger. git-svn-id: https://shellinabox.googlecode.com/svn/trunk@78 0da03de8-d603-11dd-86c2-0f8696b7b6f9 --- shellinabox/shell_in_a_box.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/shellinabox/shell_in_a_box.js b/shellinabox/shell_in_a_box.js index 9fd5c10..f6efce8 100644 --- a/shellinabox/shell_in_a_box.js +++ b/shellinabox/shell_in_a_box.js @@ -179,14 +179,10 @@ ShellInABox.prototype.sendRequest = function(request) { } } }(this); - try { - if (this.session) { - request.send(content); - } else { - request.send(); - } - } catch (e) { - alert('' + e + '\n' + this.url + '\n' + content); + if (this.session) { + request.send(content); + } else { + request.send(); } };