Pad spinner which replaces login button

This commit is contained in:
JC Brand 2013-05-09 22:38:17 +02:00
parent 008ae5ee8c
commit 19cf4c753b
2 changed files with 3 additions and 5 deletions

View File

@ -542,7 +542,7 @@ form#converse-login input {
display: block; display: block;
} }
form#converse-login input.login-submit { form#converse-login .login-submit {
margin-top: 1em; margin-top: 1em;
} }

View File

@ -971,9 +971,7 @@
'<div class="chat-area">' + '<div class="chat-area">' +
'<div class="chat-content"></div>' + '<div class="chat-content"></div>' +
'<form class="sendXMPPMessage" action="" method="post">' + '<form class="sendXMPPMessage" action="" method="post">' +
'<textarea ' + '<textarea type="text" class="chat-textarea" ' +
'type="text" ' +
'class="chat-textarea" ' +
'placeholder="Message"/>' + 'placeholder="Message"/>' +
'</form>' + '</form>' +
'</div>' + '</div>' +
@ -2028,7 +2026,7 @@
if (errors) { return; } if (errors) { return; }
var $button = $form.find('input[type=submit]'); var $button = $form.find('input[type=submit]');
$button.hide().after('<img class="spinner" src="images/spinner.gif"/>'); $button.hide().after('<img class="spinner login-submit" src="images/spinner.gif"/>');
var connection = new Strophe.Connection(this.bosh_service_url); var connection = new Strophe.Connection(this.bosh_service_url);
connection.connect(jid, password, $.proxy(function (status) { connection.connect(jid, password, $.proxy(function (status) {