aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-11-05 17:25:56 (EST)
committerMark Macdonald2013-11-06 12:06:09 (EST)
commitf3b463933a34f1108224cbd40fa7545d243238b2 (patch)
tree951021a3b459d3a33decded6b7a91a386d298d42
parent2cb7289b5f8f0d079303a3732ff29708ed2ea605 (diff)
downloadorg.eclipse.orion.client-f3b463933a34f1108224cbd40fa7545d243238b2.zip
org.eclipse.orion.client-f3b463933a34f1108224cbd40fa7545d243238b2.tar.gz
org.eclipse.orion.client-f3b463933a34f1108224cbd40fa7545d243238b2.tar.bz2
Bug 394479 - login page should strip blanksCall trim() on the login contents--Signed-off-by: Curtis Windatt <cwindatt@ca.ibm.com>
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/mixloginstatic/LoginWindow.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/mixloginstatic/LoginWindow.js b/bundles/org.eclipse.orion.client.ui/web/mixloginstatic/LoginWindow.js
index 4fee06f..b0b11bf 100644
--- a/bundles/org.eclipse.orion.client.ui/web/mixloginstatic/LoginWindow.js
+++ b/bundles/org.eclipse.orion.client.ui/web/mixloginstatic/LoginWindow.js
@@ -217,7 +217,7 @@ define(['domReady', 'orion/xhr', 'orion/PageUtil', 'orion/webui/littlelib', 'per
function confirmLogin(login, password) {
if (!login) {
- login = document.getElementById('login').value;
+ login = document.getElementById('login').value.trim();
password = document.getElementById('password').value;
}