blob: 33ec868cb23274c04ab4378ab152102040c26f32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/**
* 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);
});
|