mirror da
https://github.com/nextcloud/server.git
synced 2024-08-31 05:58:34 +02:00
25 righe
557 B
JavaScript
25 righe
557 B
JavaScript
/**
|
|
* Copyright (c) 2015
|
|
* Vincent Petry <pvince81@owncloud.com>
|
|
* Jan-Christoph Borchardt, http://jancborchardt.net
|
|
* This file is licensed under the Affero General Public License version 3 or later.
|
|
* See the COPYING-README file.
|
|
*/
|
|
|
|
/**
|
|
* @namespace
|
|
* @memberOf OC
|
|
*/
|
|
OC.Login = _.extend(OC.Login || {}, {
|
|
onLogin: function () {
|
|
$('#submit')
|
|
.removeClass('icon-confirm')
|
|
.addClass('icon-loading-small')
|
|
.css('opacity', '1');
|
|
return true;
|
|
}
|
|
});
|
|
$(document).ready(function() {
|
|
$('form[name=login]').submit(OC.Login.onLogin);
|
|
});
|