Pad spinner which replaces login button
This commit is contained in:
parent
008ae5ee8c
commit
19cf4c753b
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user